Part Number Hot Search : 
63A16 TAA4762A SD243 RU3JGF DZ23C24 EZ10D5 BA2107G Z5250
Product Description
Full Text Search
 

To Download SAA5497 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  d a t a sh eet preliminary speci?cation file under integrated circuits, ic02 1997 jul 07 integrated circuits saa5x9x family economy teletext and tv microcontrollers
1997 jul 07 2 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family contents 1 features 1.1 general 1.2 microcontroller 1.3 teletext acquisition 1.4 teletext display 1.5 additional features of saa529xa devices 1.6 additional features of saa549x devices 2 general description 3 ordering information 4 quick reference data 5 block diagram 6 pinning information 6.1 pinning 6.2 pin description 7 functional description 7.1 microcontroller 7.2 80c51 features not supported 7.3 additional features 7.4 microcontroller interfacing 8 teletext decoder 8.1 data slicer 8.2 acquisition timing 8.3 teletext acquisition 8.4 rolling headers and time 8.5 error checking 8.6 memory organisation of saa5296/7, saa5296/7a and saa5496/7 8.7 inventory page 8.8 memory organisation of saa5291, saa5291a and saa5491 8.9 packet 26 processing 8.10 vps 8.11 wide screen signalling (saa529xa and saa549x only) 8.12 525-line world system teletext 8.13 fastext detection 8.14 page clearing 8.15 full channel operation 8.16 independent data services (saa5291, saa5291a, saa5491 only) 9 the display 9.1 introduction 9.2 character matrix 9.3 east/ west selection 9.4 national option characters 9.5 the twist attribute 9.6 on screen display symbols 9.7 language group identification 9.8 525-line operation 9.9 on screen display characters 9.10 control characters 9.11 quadruple width display (saa549x) 9.12 page attributes 9.13 display modes 9.14 on screen display boxes 9.15 screen colour 9.16 redefinable colours (saa549x) 9.17 cursor 9.18 other display features 9.19 display timing 9.20 horizontal timing 9.21 vertical timing 9.22 display position 9.23 clock generator 10 character sets 10.1 pan-european 10.2 russian 10.3 greek/turkish 10.4 arabic/english/french 10.5 thai 10.6 arabic/hebrew 11 limiting values 12 characteristics 13 characteristics for the i 2 c-bus interface 14 quality specifications 15 application information 16 emc guidelines 17 package outlines 18 soldering 18.1 introduction 18.2 sdip 18.3 qfp 19 definitions 20 life support applications 21 purchase of philips i 2 c components
1997 jul 07 3 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 1 features 1.1 general single chip microcontroller with integrated teletext decoder single +5 v power supply single crystal oscillator for teletext decoder, display and microcontroller teletext function can be powered-down independently of microcontroller function for reduced power consumption in stand-by pin compatibility throughout family. 1.2 microcontroller 80c51 microcontroller core 16/32/64 kbyte mask programmed rom 256/768/1280 bytes of microcontroller ram eight 6-bit pulse width modulator (pwm) outputs for control of tv analog signals one 14-bit pwm for voltage synthesis tuner control four 8-bit analog-to-digital converters 2 high current open-drain outputs for directly driving leds etc. i 2 c-bus interface external rom and ram capability on qfp80 package version. 1.3 teletext acquisition 1 page and 10 page teletext version acquisition of 525-line and 625-line world system teletext, with automatic selection acquisition and decoding of vps data (pdc system a) page clearing in under 64 m s (1 tv line) separate storage of extension packets (saa5296/7, saa5296/7a and saa5496/7) inventory of transmitted teletext pages stored in the transmitted page table (tpt) and subtitle page table (spt) (saa5296/7, saa5296/7a and saa5496/7) automatic detection of fastext transmission real-time packet 26 engine for processing accented (and other) characters comprehensive teletext language coverage video signal quality detector. 1.4 teletext display 525-line and 625-line display 12 10 character matrix double height, width and size on-screen display (osd) definable border colour enhanced display features including meshing and shadowing 260 characters in mask programmed rom automatic frame output control with manual override rgb push pull output to standard decoder ics stable display via slave synchronisation to horizontal sync and vertical sync. 1.5 additional features of saa529xa devices wide screen signalling (wss) bit decoding (line 23). 1.6 additional features of saa549x devices wide screen signalling bit decoding (line 23) quad width osd capability 32 additional osd characters in mask programmed rom 8 foreground and 8 background colours definable from a palette of 64. 2 general description the saa529x, saa529xa and saa549x family of microcontrollers are a derivative of the philips industry-standard 80c51 microcontroller and are intended for use as the central control mechanism in a television receiver. they provide control functions for the television system and include an integrated teletext function. the teletext hardware has the capability of decoding and displaying both 525-line and 625-line world system teletext. the same display hardware is used both for teletext and on-screen display, which means that the display features give greater flexibility to differentiate the tv set. the family offers both 1 page and 10 page teletext capability, in a range of rom sizes. increasing display capability is offered from the saa5290 to the SAA5497.
1997 jul 07 4 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 3 ordering information note 1. nnn is a three-digit number uniquely referencing the microcontroller program mask and osd mask. 4 quick reference data type number (1) package program memory (rom) name description version saa5290ps/nnn sdip52 plastic shrink dual in-line package; 52 leads (600 mil) sot247-1 16 kbytes saa5291ps/nnn sdip52 plastic shrink dual in-line package; 52 leads (600 mil) sot247-1 32 kbytes saa5291aps/nnn saa5296ps/nnn saa5296aps/nnn saa5491ps/nnn saa5496ps/nnn saa5291h/nnn qfp80 plastic quad ?at package; 80 leads (lead length 1.95 mm); body 14 20 2.8 mm sot318-2 32 kbytes and external saa5291ah/nnn saa5296h/nnn saa5296ah/nnn saa5491h/nnn saa5496h/nnn saa5297ps/nnn sdip52 plastic shrink dual in-line package; 52 leads (600 mil) sot247-1 64 kbytes saa5297aps/nnn SAA5497ps/nnn saa5297h/nnn qfp80 plastic quad ?at package; 80 leads (lead length 1.95 mm); body 14 20 2.8 mm sot318-2 64 kbytes or external saa5297ah/nnn SAA5497h/nnn symbol parameter min. typ. max. unit v dda supply voltages 4.5 5.0 5.5 v v ddm v ddt f xtal crystal frequency - 12 - mhz t amb operating ambient temperature - 20 - +70 c i ddm microcontroller supply current - 20 35 ma saa5290, saa5291, saa5291a and saa5491 i dda analog supply current - 35 50 ma i ddt teletext supply current - 40 65 ma saa5296, saa5296a, saa5297, saa5297a, saa5496 and SAA5497 i dda analog supply current - 35 50 ma i ddt teletext supply current - 50 80 ma
1997 jul 07 5 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 5 block diagram fig.1 block diagram. handbook, full pagewidth mgk462 port 1 port 0 port 3 port 2 timer/ ctrs i 2 c-bus interface adc saa5x9x pwm 8051 micro- controller oscillator text interface 512 8 aux ram 256 8 ram 32k 8 rom acquisition timing page ram display timing data slicer display teletext acquisition black iref v dda v ddm v ddt v ssa v ssd cvbs0, cvbs1 reset p1.0 to p1.7 p0.0 to p0.7 p3.0 to p3.7 p2.0 to p2.7 xtalin xtalout oscgnd vsync hsync frame r, g, b, vds, cor data address int
1997 jul 07 6 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 6 pinning information 6.1 pinning fig.2 pin configuration (sdip52). handbook, halfpage 1 2 3 4 5 6 7 8 9 10 11 12 13 40 39 38 37 36 35 34 33 32 31 30 29 28 27 14 15 16 17 18 19 20 22 23 24 25 26 21 42 41 43 44 45 46 47 48 49 50 51 52 mgk461 saa5x9x p2.0/tpwm p2.1/pwm0 p2.2/pwm1 p2.3/pwm2 p2.4/pwm3 p2.5/pwm4 p2.6/pwm5 p2.7/pwm6 p3.0/adc0 p3.1/adc1 p3.2/adc2 p3.3/adc3 p0.0 p0.1 p0.2 p0.3 p0.4 p0.5 p0.6 p0.7 cvbs0 cvbs1 black iref v ssd ddm v ddt v dda v v ssd ssa v p1.5 p1.4 p1.7/sda p1.6/scl p1.3/t1 p1.2/int0 p1.1/t0 p1.0/int1 reset xtalout xtalin oscgnd vsync hsync vds r g b rgbref p3.4/pwm7 cor frame
1997 jul 07 7 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.3 pin configuration (qfp80). handbook, full pagewidth saa5x9x mgl157 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 p2.6/pwm5 p2.7/pwm6 p3.0/adc0 n.c. p3.1/adc1 p3.2/adc2 p3.3/adc3 p2.5/pwm4 p2.4/pwm3 rd wr v ssd ea p0.0 p0.1 p0.2 psen ale ref - p0.3 p1.2/int0 reset xtalout xtalin oscgnd a8 a9 a10 a11 v ddt ref + v dda p3.6 vsync p3.5 hsync p3.4/pwm7 vds r g 60 59 58 57 56 p1.1/t0 p1.0/int1 v ddm p1.3/t1 64 63 62 61 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 p0.6 p0.7 v ssa cvbs0 cvbs1 black iref a15 a14 a13 a12 frame v ssd cor rgbref b 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 p2.3/pwm2 p2.2/pwm1 p2.1/pwm0 p2.0/tpwm ad7 ad6 ad5 ad4 ad3 ad2 ad1 ad0 p1.5 p1.4 p1.7/sda p1.6/scl 21 22 23 24 p0.4 p3.7 n.c. p0.5
1997 jul 07 8 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 6.2 pin description table 1 sdip52 and qfp80 packages symbol pin description sdip52 qfp80 p2.0/tpwm 1 77 port 2 : 8-bit open-drain bidirectional port with alternative functions. p2.0/tpwm is the output for the 14-bit high precision pwm. p2.1/pwm0 to p2.7/pwm6 are the outputs for the 6-bit pwms 0 to 6. p2.1/pwm0 2 78 p2.2/pwm1 3 79 p2.3/pwm2 4 80 p2.4/pwm3 5 9 p2.5/pwm4 6 8 p2.6/pwm5 7 1 p2.7/pwm6 8 2 p3.0/adc0 9 3 port 3 : 8-bit open-drain bidirectional port with alternative functions. p3.0/adc0 to p3.3/adc3 are the inputs for the software adc facility. p3.4/pwm7 is the output for the 6-bit pwm7. p3.1/adc1 10 5 p3.2/adc2 11 6 p3.3/adc3 12 7 p3.4/pwm7 30 44 p3.5 - 46 p3.6 - 48 p3.7 - 22 v ssd 13 12 digital ground. p0.0 14 14 port 0 : 8-bit open-drain bidirectional port. p0.5 and p0.6 have 10 ma current sinking capability for direct drive of leds. p0.1 15 15 p0.2 16 16 p0.3 17 20 p0.4 18 21 p0.5 19 24 p0.6 20 25 p0.7 21 26 v ssa 22 27 analog ground. cvbs0 23 28 composite video inputs; a positive-going 1 v (peak-to-peak) input is required, connected via a 100 nf capacitor. cvbs1 24 29 black 25 30 video black level storage input: this pin should be connected to v ssa via a 100 nf capacitor. iref 26 31 reference current input for analog circuits, connected to v ssa via a 27 k w resistor. frame 27 36 de-interlace output synchronised with the vsync pulse to produce a non-interlaced display by adjustment of the vertical de?ection circuits. v ssd 28 37 internally connected; this pin should be connected to digital ground. cor 29 38 open-drain, active low output which allows selective contrast reduction of the tv picture to enhance a mixed mode display.
1997 jul 07 9 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family lrgbref 31 39 dc input voltage to de?ne the output high level on the rgb pins. b 32 40 pixel rate output of the blue colour information. g 33 41 pixel rate output of the green colour information. r 34 42 pixel rate output of the red colour information. vds 35 43 video/data switch push-pull output for dot rate fast blanking. hsync 36 45 schmitt trigger input for a ttl level version of the horizontal sync pulse; the polarity of this pulse is programmable by register bit txt1.h polarity. vsync 37 47 schmitt trigger input for a ttl level version of the vertical sync pulse; the polarity of this pulse is programmable by register bit txt1.v polarity. v dda 38 49 +5 v analog power supply. v ddt 39 51 +5 v teletext power supply. oscgnd 40 56 crystal oscillator ground. xtalin 41 57 12 mhz crystal oscillator input. xtalout 42 58 12 mhz crystal oscillator output. reset 43 59 if the reset input is high for at least 3 machine cycles (36 oscillator periods) while the oscillator is running, the device is reset; this pin should be connected to v ddm via a 2.2 m f capacitor. v ddm 44 62 +5 v microcontroller power supply. p1.0/int1 45 63 port 1: 8-bit open-drain bidirectional port with alternate functions. p1.0/int1 is external interrupt 1 which can be triggered on the rising and falling edge of the pulse. p1.1/t0 is the counter/timer 0. p1.2/int0 is external interrupt 0. p1.3/t1 is the counter/timer 1. p1.6/scl is the serial clock input for the i 2 c-bus. p1.7/sda is the serial data port for the i 2 c-bus. p1.1/t0 46 64 p1.2/int0 47 60 p1.3/int1 48 61 p1.6/scl 49 65 p1.7/sda 50 66 p1.4 51 67 p1.5 52 68 ref+ - 50 positive reference voltage for software driven adc. ref -- 19 negative reference voltage for software driven adc. rd - 10 read control signal to external data memory. wr - 11 write control signal to external data memory. psen - 17 enable signal for external program memory. ale - 18 external latch enable signal; active high. ea - 13 control signal used to select external (low) or internal (high) program memory. ad0 to ad7 - 69 to 76 address lines a0 to a7 multiplexed with data lines d0 to d7. a8 to a15 - 55 to 52, 35 to 32 address lines a8 to a15. symbol pin description sdip52 qfp80
1997 jul 07 10 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7 functional description 7.1 microcontroller the functionality of the microcontroller used in this family is described here with reference to the industry-standard 80c51 microcontroller. a full description of its functionality can be found in the 80c51-based 8-bit microcontrollers; data handbook ic20 . using the 80c51 as a reference, the changes made to this family fall into two categories: features not supported by the saa529x, saa529xa or saa549x devices features found on the saa529x, saa529xa or saa549x devices but not supported by the 80c51. 7.2 80c51 features not supported 7.2.1 i nterrupt priority the ip sfr is not implemented and all interrupts are treated with the same priority level. the normal prioritisation of interrupts is maintained within the level. table 2 interrupts and vectors address note 1. saa5290, saa5291, saa5291a and saa5491 only. 7.2.2 o ff - chip memory the sdip52 version does not support the use of off-chip program memory or off-chip data memory. 7.2.3 i dle and p ower - down modes as idle and power-down modes are not supported, their respective bits in pcon are not available. 7.2.4 uart f unction the 80c51 uart is not available. as a consequence the scon and sbuf sfrs are removed and the es bit in the ie sfr is unavailable. interrupt source vector address reset 000h external int0 003h timer 0 00bh external int1 013h timer 1 01bh byte i 2 c-bus 02bh bit i 2 c-bus; note 1 053h 7.3 additional features the following features are provided in addition to the standard 80c51 features. 7.3.1 i nterrupts the external int1 interrupt is modified to generate an interrupt on both the rising and falling edges of the int1 pin, when ex1 bit is set. this facility allows for software pulse width measurement for handling of a remote control. 7.3.2 b it level i 2 c- bus interface for reasons of compatibility with saa5290, the saa5291, saa5291a and saa5491 contain a bit level serial i/o which supports the i 2 c-bus. p1.6/scl and p1.7/sda are the serial i/o pins. these two pins meet the i 2 c-bus specification the i 2 c-bus and how to use it (including specifications) concerning the input levels and output drive capability. consequently, these two pins have an open-drain output configuration. all the four following modes of the i 2 c-bus are supported. master transmitter master receiver slave transmitter slave receiver. three sfrs support the function of the bit-level i 2 c-bus hardware: s1int, s1bit and s1scs and are enabled by setting register bit txt8.i 2 c select to logic 0. 7.3.3 b yte level i 2 c- bus interface the byte level serial i/o supports the i 2 c-bus protocol. p1.6/scl and p1.7/sda are the serial i/o pins. these two pins meet the i 2 c-bus specification concerning the input levels and output drive capability. consequently, these two pins have an open-drain output configuration. the byte level i 2 c-bus serial port is identical to the i 2 c-bus serial port on the 8xc552. the operation of the subsystem is described in detail in the 8xc552 data sheet found in 80c51-based 8-bit microcontrollers; data handbook ic20 . four sfrs support the function of the byte level i 2 c-bus hardware, they are s1con, s1sta, s1dat and s1adr and are enabled by setting register bit txt8.i 2 c select to logic 1. 7.3.4 led support port pins p0.5 and p0.6 have a 10 ma current sinking capability to enable leds to be driven directly.
1997 jul 07 11 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7.3.5 6- bit pwm dac s eight 6-bit dacs are available to allow direct control of analog parts of the television. each low resolution 6-bit dac is controlled by its associated special function register (pwm0 to pwm7). the pwm outputs are alternative functions of port 2 and port 3.4. the pwe bit in the sfr for the port corresponding to the pwm should be set to logic 1 for correct operation of the pwm, e.g. if pwm0 is to be used, p2.1 should be set to logic 1 setting the port pin to high-impedance. 7.3.5.1 pulse width modulator registers (pwm0 to pwm7) table 3 pulse width modulator registers (see table 10 for addresses) table 4 description of pwmn bits (n = 0 to 7) 76543210 pwe - pv5 pv4 pv3 pv2 pv1 pv0 bit symbol description 7 pwe if pwe is set to a logic 1, the corresponding pwm is active and controls its assigned port pin. if pwe is set to a logic 0, the port pin is controlled by the corresponding bit in the port sfr. 6 - not used. 5 pv5 the output of the pwm is a pulse of period 21.33 m s with a pulse high time determined by the binary value of these 6-bits multiplied by 0.33 m s. pv5 is the most significant bit. 4 pv4 3 pv3 2 pv2 1 pv1 0 pv0
1997 jul 07 12 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7.3.6 14- bit pwm dac one 14-bit dac is available to allow direct control of analog sections of the television. the 14-bit pwm is controlled using special function registers tdacl and tdach. the output of the tpwm is a pulse of period 42.66 m s. the 7 most significant bits, tdach.td13 (msb) to tdach.td8 and tdacl.td7, alter the pulse width between 0 and 42.33 m s, in much the same way as in the 6-bit pwms. the 7 least significant bits, tdacl.td6 to tdacl.td0 (lsb), extend certain pulses by a further 0.33 m s, e.g. if the 7 least significant bits are given the value 01h, then 1 in 128 cycles is extended. if the 7 least significant bits are given the value 02h, then 2 in 128 cycles is extended, and so forth. the tpwm will not start to output a new value until after writing a value to tdach. therefore, if the value is to be changed, tdacl should be written to before tdach. 7.3.6.1 tpwm high byte register (tdach) table 5 tpwm high byte register (sfr address d3h) table 6 description of tdach bits 7.3.6.2 tpwm low byte register (tdacl) table 7 tpwm low byte register (sfr address d2h) table 8 description of tdacl bits 76543210 pwe - td13 td12 td11 td10 td9 td8 bit symbol description 7 pwe if pwe is set to a logic 1, the tpwm is active and controls port line p2.0. if pwe is set to a logic 0, the port pin is controlled by the corresponding bit in the port sfr. 6 - not used. 5 td13 these 6-bits along with bit td7 in the tdacl register control the pulse width period. td13 is the most signi?cant bit. 4 td12 3 td11 2 td10 1 td9 0 td8 76543210 td7 td6 td5 td4 td3 td2 td1 td0 bit symbol description 7 td7 this bit is used with bits td13 to td8 in the tdach register to control the pulse width period. 6 to 0 td6 to td0 these 7-bits extend certain pulses by a further 0.33 m s.
1997 jul 07 13 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7.3.7 s oftware adc up to 4 successive approximation adcs can be implemented in software by making use of the on-chip 8-bit dac and multiplexed voltage comparator. the software adc uses 4 analog inputs which are multiplexed with p3.0 to p3.3. table 9 adc input channel selection the control of the adc is achieved using the special function registers sad and sadb. sad.ch1 and sad.ch0 select one of the four inputs to pass to the comparator. the other comparator input comes from the dac, whose value is set by sad.sad7 (msb) to sad.sad4 and sadb.sad3 to sadb.sad0 (lsb). the setting of the value sad.sad7 to sad.sad4 ch1 ch0 input pin 0 0 p3.3/adc3 0 1 p3.0/adc0 1 0 p3.1/adc1 1 1 p3.2/adc2 must be performed at least 1 instruction cycle before the setting of sad.st to ensure comparison is made using the correct sad.sad7 to sad.sad4 value. the output of the comparator is sad.vhi, and is valid after 1 instruction cycle following the setting of sad.st to a logic 1. handbook, halfpage multiplexer p3.0 p3.1 vh1 mgl115 p3.2 p3.3 ch1, ch0 sad7 to sad0 ref + ref - 1d st c1 8-bit dac fig.4 sad block diagram.
1997 jul 07 14 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7.4 microcontroller interfacing the 80c51 communicates with the peripheral functions using special function registers (sfrs) which are addressed as ram locatio ns. the registers in the teletext decoder appear as normal sfrs in the microcontroller memory map, but are written to using an internal serial bu s. the sfr map is given in table 10. 7.4.1 s pecial f unction r egister map table 10 special function register map; note 1 symbol name direct addr. (hex) bit address, symbol or alternative port function reset value (hex) 765432 1 0 acc (2) accumulator e0 e7 e6 e5 e4 e3 e2 e1 e0 00 ------ - - b (2) b register f0 f7 f6 f5 f4 f3 f2 f1 f0 00 ------ - - dptr data pointer (2 bytes) dph high byte 83 ------ - - 00 dpl low byte 82 ------ - - 00 ie (2)(3) interrupt enable a8 af ae ad ac ab aa a9 a8 00 ea es1 es2 * et1 ex1 et0 ex0 p0 (2) port 0 80 87 86 85 84 83 82 81 80 ff ------ - - p1 (2) port 1 90 97 96 95 94 93 92 91 90 ff ------ - - p2 (2) port 2 a0 a7 a6 a5 a4 a3 a2 a1 a0 ff ------ - - p3 (2)(3) port 3 b0 b7 b6 b5 b4 b3 b2 b1 b0 ff ------ - - pcon (3) power control 87 - ard - * gf1 gf0 -- 10
1997 jul 07 15 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family psw (2) program status word d0 d7 d6 d5 d4 d3 d2 d1 d0 00 cy ac f0 rs1 rs0 ov * p pwm0 (3) pulse width modulator 0 d5 pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm1 (3) pulse width modulator 1 d6 pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm2 (3) pulse width modulator 2 d7 pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm3 (3) pulse width modulator 3 dc pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm4 (3) pulse width modulator 4 dd pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm5 (3) pulse width modulator 5 de pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm6 (3) pulse width modulator 6 df pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 pwm7 (3) pulse width modulator 7 d4 pwe * pv5 pv4 pv3 pv2 pv1 pv0 40 s1adr (3) serial i 2 c-bus address db adr6 adr5 adr4 adr3 adr2 adr1 adr0 gc 00 s1con (2)(3)(4) serial i 2 c-bus control d8 df de dd dc db da d9 d8 cr2 ensi sta sto si aa cr1 cr0 00 s1scs (2)(3)(5) serial i 2 c-bus control d8 df de dd dc db da d9 d8 sdi sci clh bb rbf wbf str ens e0 s1dat (3)(4) serial i 2 c-bus data da dat7 dat6 dat5 dat4 dat3 dat2 dat1 dat0 00 s1int (3)(5) serial i 2 c-bus interrupt da si ----- - - 7f symbol name direct addr. (hex) bit address, symbol or alternative port function reset value (hex) 765432 1 0
1997 jul 07 16 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family s1sta (3)(4) serial i 2 c-bus status d9 stat4 stat3 stat2 stat1 stat0 0 0 0 f8 s1bit (3)(5) serial i 2 c-bus data d9 sdo/sdi ----- - - 7f sad (2)(3) software adc (msb) e8 ef ee ed ec eb ea e9 e8 00 vhi ch1 ch0 st sad7 sad6 sad5 sad4 sadb (2)(3) software adc (lsb) 98 9f 9e 9d 9c 9b 9a 99 98 00 ---- sad3 sad2 sad1 sad0 sp stack pointer 81 8f 8e 8d 8c 8b 8a 89 88 07 tcon (2) timer/counter control 88 tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 00 tdach tpwm high byte d3 pwe * td13 td12 td11 td10 td9 td8 40 tdacl tpwm low byte d2 td7 td6 td5 td4 td3 td2 td1 td0 00 th0 timer 0 high byte 8c th07 th06 th05 th04 th03 th02 th01 th00 00 th1 timer 1 high byte 8d th17 th16 th15 th14 th13 th12 th11 th10 00 tl0 timer 0 low byte 8a tl07 tl06 tl05 tl04 tl03 tl02 tl01 tl00 00 tl1 timer 1 low byte 8b tl17 tl16 tl15 tl14 tl13 tl12 tl11 tl10 00 tmod timer/counter mode 89 gate c/ tm1 m0gatec/ tm1 m000 timer 1 timer 0 txt0 (3) teletext register 0 c0 x24 posn display x24 auto frame disable hdr roll display status row only disable frame vps on inv on 00 txt1 (3) teletext register 1 c1 ext pkt off 8 - bit acq off x26 off full field field polarity h polarity v polarity 00 symbol name direct addr. (hex) bit address, symbol or alternative port function reset value (hex) 765432 1 0
1997 jul 07 17 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family txt2 (3) teletext register 2 c2 * req3 req2 req1 req0 sc2 sc1 sc0 00 txt3 (3) teletext register 3 c3 * * * prd4 prd3 prd2 prd1 prd0 00 txt4 (3) teletext register 4 c4 osd bank enable quad width enable east/ west disable dbl ht b mesh enable c mesh enable trans enable shadow enable 00 txt5 (3) teletext register 5 c5 bkgnd out bkgnd in cor out cor in text out text in picture on out picture on in 03 txt6 (3) teletext register 6 c6 bkgnd out bkgnd in cor out cor in text out text in picture on out picture on in 03 txt7 (3) teletext register 7 c7 status row top cursor on reveal t op/ bottom double height box on 24 box on 1-23 box on 0 00 txt8 (3) teletext register 8 c8 i 2 c select ids enable * disable spanish pkt26 receive d wss receive d wss on cvbs0/ cvbs1 00 txt9 (3) teletext register 9 c9 cursor freeze clear memory. a0 r4 r3 r2 r1 r0 00 txt10 (3) teletext register 10 ca * * c5 c4 c3 c2 c1 c0 00 txt11 (3) teletext register 11 cb d7 d6 d5 d4 d3 d2 d1 d0 00 txt12 (3) teletext register 12 cc 625/525 sync rom ver r4 rom ver r3 rom ver r2 rom ver r1 rom ver r0 txt on video signal quality 0xxxx x00b txt13 (2)(3) teletext register 13 b8 bf be bd bc bb ba b9 b8 00 vps receive d page clearin g 525 display 525 text 625 text pkt 8/30 fastext tib txt14 (3) teletext register 14 cd -- - page3 page2 page1 page0 00 symbol name direct addr. (hex) bit address, symbol or alternative port function reset value (hex) 765432 1 0
1997 jul 07 18 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family notes 1. the asterisk (*) indicates these bits are inactive and must be written to logic 0 for future compatibility. 2. sfrs are bit addressable. 3. sfrs are modified or added to the 80c51 sfrs. 4. this register used for byte orientated i 2 c-bus, txt8.i 2 c select = 1. 5. this register used for bit orientated i 2 c-bus, txt8.i 2 c select = 0. txt15 (3) teletext register 15 ce ---- block3 block2 block1 block0 00 txt16 (3) teletext register 16 cf - y2 y1 y0 -- x1 x0 00 txt17 (3) teletext register 17 b9 - force acq 1 force acq 0 force 625 force 525 screen col2 screen col1 screen col0 00 wss1 (3) wss register 1 ba --- wss0 to wss3 error wss3 wss2 wss1 wss0 00 wss2 (3) wss register 2 bb --- wss4 to wss7 error wss7 wss6 wss5 wss4 00 wss3 (3) wss register 3 bc wss11 to wss13 error wss13 wss12 wss11 wss8 to wss10 error wss10 wss9 wss8 00 clut (3) clut register bd clut enable clut address b1 or - b0 or - g1 or entry 3 g0 or entry 2 r1 or entry 1 r0 or entry 0 00 symbol name direct addr. (hex) bit address, symbol or alternative port function reset value (hex) 765432 1 0
1997 jul 07 19 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 7.4.2 s pecial f unction r egisters bit descriptions table 11 sfrs bit description register function interrupt enable register (ie) ea disable all interrupts (logic 0) or use individual interrupt enable bits (logic 1) es1 bit i 2 c-bus interrupt enable (logic 1) es2 byte i 2 c-bus interrupt enable (logic 1) et1 enable timer 1 over?ow interrupt (logic 1) ex1 enable external interrupt 1 (logic 1) et0 enable timer 0 over?ow interrupt (logic 1) ex0 enable external interrupt 0 (logic 1) power control register (pcon) ard aux-ram disable bit. disables the 512 bytes of internal aux-ram (logic 1); all movx-instructions access the external data memory gf1 general purpose ?ag 1 gf0 general purpose ?ag 0 program status word (psw) cy carry ?ag ac auxiliary carry ?ag f0 ?ag 0 rs1,rs0 register bank select control bits ov over?ow ?ag p parity ?ag 6-bit pulse width modulator control registers (pwm0 to pwm7) pwe activate this pwm and take control of respective port pin (logic 1) pv5 to pv0 binary value sets high time of pwm output serial interface slave address register (s1adr); note 1 adr6 to adr0 i 2 c-bus slave address to which the device will respond gc enables response to the i 2 c-bus general call address serial interface control register (s1con); note 1 cr2 to cr0 clock rate bits ensi i 2 c-bus interface enable sta start condition ?ag sto stop condition ?ag si interrupt ?ag aa assert acknowledge ?ag
1997 jul 07 20 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family serial interface data register (s1dat); note 1 dat7 to dat0 i 2 c-bus data serial interface status register (s1sta) - read only; note 1 stat4 to stat0 i 2 c-bus interface status serial interface data register (s1bit) - read; note 2 sdi i 2 c-bus data bit input serial interface data register (s1bit) - write; note 2 sdo i 2 c-bus data bit output serial interface interrupt register (s1int); note 2 si i 2 c-bus interrupt ?ag serial interface control register (s1scs) - read; note 2 sdi serial data input at sda sci serial clock input at scl clh clock low-to-high transition ?ag bb bus busy ?ag rbf read bit ?nished ?ag wbf write bit ?nished ?ag str clock stretching enable (logic 1) ens enable serial i/o (logic 1) serial interface control register (s1scs) - write; note 2 sdo serial data output at sda sco serial clock output at scl clh clock low-to-high transition ?ag str clock stretching enable (logic 1) ens enable serial i/o (logic 1) software adc control register (sad) vhi comparator output indicating that analog input voltage greater than dac voltage (logic 1) ch1 and ch0 adc input channel selection bits; see table 11 st initiate voltage comparison (logic 1); this bit is automatically reset to logic 0 sad7 to sad4 4 msbs of dac input value register function
1997 jul 07 21 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family software adc control register (sadb) sad3 to sad0 4 lsbs of dac input value timer/counter control register (tcon) tf1 timer 1 over?ow ?ag tr1 timer 1 run control bit tf0 timer 0 over?ow ?ag tr0 timer 0 run control bit ie1 interrupt 1 edge ?ag it1 interrupt 1 type control bit ie0 interrupt 0 edge ?ag it0 interrupt 0 type control bit 14-bit pwm msb register (tdach) pwe activate this 14-bit pwm and take over port pin (logic 1) td13 to td8 6 msbs of 14-bit number to be output by the 14-bit pwm 14-bit pwm lsb register (tdacl) td7 to td0 8 lsbs of 14-bit number to be output by the 14-bit pwm timer 0 high byte (th0) th07 to th00 8 msbs of timer 0 16-bit counter timer 1 high byte (th1) th17 to th10 8 msbs of timer 1 16-bit counter timer 0 low byte (tl0) tl07 to tl00 8 lsbs of timer 0 16-bit counter timer 1 low byte (tl1) tl17 to tl10 8 lsbs of timer 1 16-bit counter timer/counter mode control register (tmod) gate gating control c/ t counter or timer selector m1, m0 mode control bits register function
1997 jul 07 22 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family teletext register 0 (txt0) - write only x24 posn store packet 24 in extension packet memory (logic 0) or page memory (logic 1) display x24 display x24 from page memory (logic 0) or extension packet memory (logic 1) auto frame frame output switched off automatically if any video displayed (logic 1) disable hdr roll disable writing of rolling headers and time into memory (logic 1) display status row only display row 24 only (logic 1) disable frame frame output always low (logic 1) vps on enable capture of vps data (logic 1) inv on (3) enable capture of inventory page in block 8 (logic 1) teletext register 1 (txt1) - write only ext pkt off (3) disable decoding of extension packets (logic 1) 8-bit data in packets 0 to 24 written into memory without error checking (logic 1) acq off prevent teletext acquisition section writing to memory (logic 1) x26 off disable automatic processing of packet 26 data (logic 1) full field decode teletext on vbi lines only (logic 0) or decode teletext on any line (logic 1) field polarity vsync in ?rst half of the line (logic 0) or second half of the line (logic 1) at start of even ?eld h polarity hsync input positive-going (logic 0) or negative-going (logic 1) v polarity vsync input positive-going (logic 0) or negative-going (logic 1) teletext register 2 (txt2) - write only req3 to req0 (3) selects which page is modi?ed by txt3 page request data sc2 to sc0 start column at which page request data written to txt3, page request data is placed teletext register 3 (txt3) - write only prd4 to prd0 page request data teletext register 4 (txt4) - write only osd bank enable (4) bank switching of osd enabled (logic 1) quad width enable (4) enable quad width characters (logic 1) east/ west western languages selected (logic 0) or eastern languages selected (logic 1) disable dbl hght disable display of double height teletext control codes (logic 1) in osd boxes b mesh enable enable meshing of area with black background (logic 1) c mesh enable enable meshing of area with other background colours (logic 1) trans enable set black background to transparent i.e. video is displayed (logic 1) shadow enable enable south-east shadowing (logic 1) register function
1997 jul 07 23 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family teletext register 5 (txt5) - write only bkgnd out background colour displayed outside teletext boxes (logic 1) bkgnd in background colour displayed inside teletext boxes (logic 1) cor out cor output active outside teletext boxes (logic 1) cor in cor output active inside teletext boxes (logic 1) text out text displayed outside teletext boxes (logic 1) text in text displayed inside teletext boxes (logic 1) picture on out video picture displayed outside teletext boxes (logic 1) picture on in video picture displayed inside teletext boxes (logic 1) teletext register 6 (txt6) - write only see txt5 this register has the same meaning as txt5 but is only invoked if either news?ash (c5) or subtitle (c6) bit in row 25 of the basic page memory is set teletext register 7 (txt7) - write only status row top display row 24 below (logic 0) or above (logic 1) teletext page cursor on display cursor at location pointed to by txt9 and txt10 (logic 1) reveal display characters in areas with the conceal attribute set (logic 1) t op/bottom display rows 0 to 11 (logic 0) or 12 to 23 (logic 1) when the double height bit is set double height display each character as twice normal height (logic 1) box on 24 enable teletext boxes in memory row 24 (logic 1) box on 1-23 enable teletext boxes in memory rows 1 to 23 (logic 1) box on 0 enable teletext boxes in memory row 0 (logic 1) teletext register 8 (txt8) i 2 c select (2) select bit i 2 c-bus (logic 0) or byte i 2 c-bus (logic 1) ids enable (2) capture teletext independent date services (logic 1) disable spanish (2) disable special treatment of spanish packet 26 decoding pkt 26 received set to logic 1 when packet 26 teletext data processed wss received (5) set to logic 1 when wide screen signalling data received wss on (5) enable acquisition of wide screen signalling data cvbs0/cvbs1 select cvbs0 (logic 0) or cvbs1 (logic 1) input to the device teletext register 9 (txt9) - write only cursor freeze locks current cursor position (logic 1) clear memory write 20h into every location in teletext memory (logic 1) a0 txt11 accesses the basic page memory, selected by txt15 on the 10 page device, (logic 0) or extension packet memory (logic 1) r4 to r0 memory row to be accessed by txt11 register function
1997 jul 07 24 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family teletext register 10 (txt10) - write only c5 to c0 memory column to be accessed by txt11 teletext register 11 (txt11) d7 to d0 data byte written to, or read from teletext memory teletext register 12 (txt12) - read only 625/525 sync a 625-line cvbs signal (logic 0), or a 525-line cvbs signal (logic 1) is being input rom ver r4 to r0 mask programmable identi?cation for character set txt on power has been applied to the teletext hardware (logic 1) video signal quality cvbs input can be locked on by the teletext decoder (logic 1) teletext register 13 (txt13) vps received set to logic 1 when vps data is received page clearing set when software requested page clear in progress 525 display set to logic 1 when 525-line syncs are driving the display 525 text set to logic 1 when 525-line teletext is received 625 text set to logic 1 when 625-line teletext is received pkt 8/30 set to logic 1 when packet 8/30 is detected fastext set to logic 1 when packet x27/0 is detected tib text interface busy; logic 1 indicates that txt registers 0 to 16 cannot currently be accessed teletext register 14 (txt 14) - write only; note 3 page3 to page0 selects which page to display teletext register 15 (txt15) - write only; note 3 block3 to block0 selects which memory block accessed by txt9, 10 and 11 teletext register 16 (txt16) - write only y2 to y0 sets vertical position of display area x1 to x0 sets horizontal position of display area teletext register 17 (txt17) - write only force acq0,1 force acquisition mode force 625 force display to 625-line mode force 525 force display to 525-line mode screen col 2 to 0 de?nes colour displayed instead of tv picture and black background register function
1997 jul 07 25 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family notes 1. available on saa5296, saa5296a, saa5297, saa5297a, saa5496, SAA5497 permanently and saa5290, saa5291, saa5291a, saa5491 when txt8.i 2 c select set to logic 1. 2. available on saa5290, saa5291, saa5291a and saa5491. 3. available on saa5296, saa5296a, saa5297, saa5297a, saa5496, SAA5497. 4. available on saa5491, saa5496, SAA5497. 5. available on saa5291a, saa5296a, saa5297a, saa5491, saa5496, SAA5497. wide screen signalling register 1 (wss1) - read only; note 5 wss 0-3 error error ?ag for bits wss0 to wss3 wss3 to wss0 signalling bits to de?ne aspect ratio (group 1) wide screen signalling register 2 (wss2) - read only; note 5 wss 4-7 error error ?ag for bits wss4 to wss7 wss7 to wss4 signalling bits to de?ne enhanced services (group 2) wide screen signalling register 3 (wss3) - read only; note 5 wss11-13 error error ?ag for bits wss11 to wss13 wss13 to wss11 signalling bits to de?ne reserved elements (group 4) wss8-10 error error ?ag for bits wss8 to wss10 wss10 to wss8 signalling bits to de?ne subtitles (group 3) colour look-up table register (clut) - write only; note 4 clut enable enable the colour look-up table (logic 1) clut address load clut address (logic 1) or clut data (logic 0) b1 most signi?cant blue component data b0 least signi?cant blue component data g1 or entry3 most signi?cant green component data or most signi?cant bit of clut address g0 or entry2 least signi?cant green component data or clut address r1 or entry1 most signi?cant red component data or clut address r0 or entry0 least signi?cant red component data or least signi?cant bit of clut address register function
1997 jul 07 26 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8 teletext decoder 8.1 data slicer the data slicer extracts the digital teletext data from the incoming analog waveform. this is performed by sampling the cvbs waveform and processing the samples to extract the teletext data and clock. 8.2 acquisition timing the acquisition timing is generated from a logic level positive-going composite sync signal vcs. this signal is generated by a sync separator circuit which adaptively slices the sync pulses. the acquisition clocking and timing are locked to the vcs signal using a digital phase-locked-loop. the phase error in the acquisition phase-locked-loop is detected by a signal quality circuit which disables acquisition if poor signal quality is detected. 8.3 teletext acquisition this family is capable of acquiring 625-line and 525-line world system teletext see world system teletext and data broadcasting system . teletext pages are identified by seven numbers: magazine (page hundreds), page tens, page units, hours tens, hours units, minutes tens and minutes units. the last four digits, hours and minutes, are known as the subcode, and were originally intended to be time related, hence their names. a page is requested by writing a series of bytes into the txt3 sfr which corresponds to the number of the page required. the bytes written into txt3 are put into a small ram with an auto-incrementing address. the start address for the ram is set using the txt2 sfr. table 12 shows the contents of the page request ram. txt2.req0 to txt2.req3 determine which of the 10 page requests is being modified for a 10 page teletext decoder. if txt2.req is given a value greater than 09h, then data written into txt3 is ignored. up to 10 pages of teletext can be acquired on the 10 page device, when txt1.ext pkt off is set to logic 1, and up to 9 pages can be acquired when this bit is set to logic 0. if the do care bit for part of the page number is set to a logic 0 then that part of the page number is ignored when the teletext decoder is deciding whether a page being received off air should be stored or not. for example, if the do care bits for the 4 subcode digits are all set to logic 0s then every subcode version of the page will be captured. when the hold bit is set to a logic 0 the teletext decoder will not recognise any page as having the correct page number and no pages will be captured. in addition to providing the user requested hold function this bit should be used to prevent the inadvertent capture of an unwanted page when a new page request is being made. for example, if the previous page request was for page 100 and this was being changed to page 234, it would be possible to capture page 200 if this arrived after only the requested magazine number had been changed. the e1 and e0 bits control the error checking which should be carried out on packets 1 to 23 when the page being requested is captured. this is described in more detail in section 8.5. for the ten page device, each packet can only be written into one place in the teletext ram so if a page matches more than one of the page requests the data is written into the area of memory corresponding to the lowest numbered matching page request. at power-up each page request defaults to any page, hold on and error check mode 0. table 12 the contents of the page request ram start column prd4 prd3 prd2 prd1 prd0 0 do care magazine hold mag2 mag1 mag0 1 do care page tens pt3 pt2 pt1 pt0 2 do care page units pu3 pu2 pu1 pu0 3 do care hours tens x x ht1 ht0 4 do care hours units hu3 hu2 hu1 hu0 5 do care minutes tens x mt2 mt1 mt0 6 do care minutes units mu3 mu2 mu1 mu0 7x xxe1e0
1997 jul 07 27 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family table 13 notation used in table 12 8.4 rolling headers and time when a new page has been requested it is conventional for the decoder to turn the header row of the display green and to display each page header as it arrives until the correct page has been found. when a page request is changed (i.e. when the txt3 sfr is written to) a flag (pblf) is written into bit 5, column 9, row 25 of the corresponding block of the page memory. the state of the flag for each block is updated every tv line, if it is set for the current display block, the acquisition section writes all valid page headers which arrive into the display block and automatically writes an alphanumeric green character into column 7 of row 0 of the display block every tv line. when a requested page header is acquired for the first time, rows 1 to 23 of the relevant memory block are cleared to space, i.e. have 20h written into every column, before the rest of the page arrives. row 24 is also cleared if the txt0.x24 posn bit is set. if the txt1.ext pkt off bit is set the extension packets corresponding to the page are also cleared. mnemonic description mag magazine pt page tens pu page units ht hours tens hu hours units mt minutes tens mu minutes units e error check mode the last 8 characters of the page header are used to provide a time display and are always extracted from every valid page header as it arrives and written into the display block. the txt0.disable header roll bit prevents any data being written into row 0 of the page memory except when a page is acquired off air i.e. rolling headers and time are not written into the memory. the txt1.acq off bit prevents any data being written into the memory by the teletext acquisition section. when a parallel magazine mode transmission is being received only headers in the magazine of the page requested are considered valid for the purposes of rolling headers and time. only one magazine is used even if dont care magazine is requested. when a serial magazine mode transmission is being received all page headers are considered to be valid. 8.5 error checking before teletext packets are written into the page memory they are error checked. the error checking carried out depends on the packet number, the byte number, the error check mode bits in the page request data and the txt1.8 bit bit. if an uncorrectable error occurs in one of the hamming checked addressing and control bytes in the page header or in the hamming checked bytes in packet 8/30, bit 4 of the byte written into the memory is set, to act as an error flag to the software. if uncorrectable errors are detected in any other hamming checked data the byte is not written into the memory.
1997 jul 07 28 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.5 error checking. handbook, full pagewidth mgk465 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 1 packet x/0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0, error check mode = 0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0, error check mode = 1 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0, error check mode = 2 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0, error check mode = 3 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 1 packet x/1-23 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 '8-bit' bit = 1 packet x/24 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 packet x/27/0 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 packet 8/30/0,1 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 8-bit data packet 8/30/2,3,4-15 odd parity checked 8/4 hamming checked
1997 jul 07 29 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.6 memory organisation of saa5296/7, saa5296/7a and saa5496/7 the teletext memory is divided into 10 blocks. normally, when the txt1.ext pkt off bit is logic 0, each of blocks 0 to 8 contains a teletext page arranged in the same way as the basic page memory (see fig.6) of the page device and block 9 contains extension packets (see fig.7). when the txt1.ext pkt off bit is logic 1, no extension packets are captured and block 9 of the memory is used to store another page. the number of the memory block into which a page is written corresponds to the page request number which resulted in the capture of the page. packet 0, the page header, is split into 2 parts when it is written into the text memory. the first 8 bytes of the header contain control and addressing information. they are hamming decoded and written into columns 0 to 7 of row 25 (see table 15). row 25 also contains the magazine number of the acquired page and the pblf flag but the last 14 bytes are unused and may be used by the software, if necessary. the hamming error flags are set if the on-board 8/4 hamming checker detects that there has been an uncorrectable (2 bit) error in the associated byte. it is possible for the page to still be acquired if some of the page address information contains uncorrectable errors if that part of the page request was a dont care. there is no error flag for the magazine number as an uncorrectable error in this information prevents the page being acquired. the interrupted sequence (c9) bit is automatically dealt with by the acquisition section so that rolling headers do not contain discontinuities in the page number sequence. the magazine serial (c11) bit indicates whether the transmission is a serial or a parallel magazine transmission. this affects the way the acquisition section operates and is dealt with automatically. the newsflash (c5), subtitle (c6), suppress header (c7), inhibit display (c10) and language control (c12 to 14) bits are dealt with automatically by the display section, described below. the update (c8) bit has no effect on the hardware. the remaining 32 bytes of the page header are parity checked and written into columns 8 to 39 of row 0. bytes which pass the parity check have the msb set to a logic 0 and are written into the page memory. bytes with parity errors are not written into the memory. table 14 notation used in table 15 mnemonic description mag magazine pt page tens pu page units ht hours tens hu hours units mt minutes tens mu minutes units table 15 the data in row 25 of the basic page memory col bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0000 hamming error pu3 pu2 pu1 pu0 1000 hamming error pt3 pt2 pt1 pt0 2000 hamming error mu3 mu2 mu1 mu0 3000 hamming error c4 mt2 mt1 mt0 4000 hamming error hu3 hu2 hu1 hu0 5000 hamming error c6 c5 ht1 ht0 6000 hamming error c10 c9 c8 c7 7000 hamming error c14 c13 c12 c11 8000 found 0 mag2 mag1 mag0 9 0 0 pblf 0 0000 10 to 23 --- unused ----
1997 jul 07 30 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.6 packet storage locations. (1) if x24 posn bit = 1. (2) vps data block 9, unused in blocks 0 to 8. handbook, full pagewidth row 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 0678 9 023 39 packet x/0 basic page blocks (0 to 8/9) osd only packet x/1 packet x/2 packet x/3 packet x/4 packet x/5 packet x/6 packet x/7 packet x/8 packet x/9 packet x/10 packet x/11 packet x/12 packet x/13 packet x/14 packet x/15 packet x/16 packet x/17 packet x/18 packet x/19 packet x/20 packet x/21 packet x/22 packet x/23 packet x/24 (1) mgk466 control data vps data (2)
1997 jul 07 31 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.7 extension packet storage locations. (1) if x24 position bit = 0. handbook, full pagewidth mgd163 0 1 2 3 4 5 6 7 8 9 923 0 10 11 12 13 14 15 20 21 22 23 24 25 16 17 18 19 row packet x/24 for page in block 0 (1) packet x/24 for page in block 1 (1) packet x/27/0 for page in block 0 packet x/27/0 for page in block 1 packet x/24 for page in block 2 (1) packet x/27/0 for page in block 2 packet x/24 for page in block 3 (1) packet x/27/0 for page in block 3 packet x/24 for page in block 4 (1) packet x/27/0 for page in block 4 packet x/24 for page in block 5 (1) packet x/27/0 for page in block 5 packet x/24 for page in block 6 (1) packet x/27/0 for page in block 6 packet x/24 for page in block 7 (1) packet x/27/0 for page in block 7 packet x/24 for page in block 8 (1) packet x/27/0 for page in block 8 packet 8/30/0.1 packet 8/30/2.3 packet 8/30/4-15 vps data extension packet block (9)
1997 jul 07 32 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.7 inventory page if the txt0.inv on bit is a logic 1, memory block 8 is used as an inventory page.the inventory page consists of two tables: the transmitted page table (tpt) and the subtitle page table (spt). in each table, every possible combination of the page tens and units digit, 00h to ffh, is represented by a byte. each bit of these bytes corresponds to a magazine number so each page number, from 100 to 8ff, is represented by a bit in the table. the bit for a particular page in the tpt is set when a page header is received for that page. the bit in the spt is set when a page header for the page is received which has the subtitle page header control bit (c6) set. before the inventory page is enabled the software must ensure that page request 8 is put on hold. fig.8 table organisation. handbook, full pagewidth x00 x01 x02 x03 x04 x05 x06 x07 x08 x09 x0a x0b x0c x0d x0e x0f x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x1a x1b x1c x1d x1e x1f x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x2a x2b x2c x2d x2e x2f x30 x31 x32 x33 x34 x35 x36 x37 x38 x39 x3a x3b x3c x3d x3e x3f xc0 xc1 xc2 xc3 xc4 xc5 xc6 xc7 xc8 xc9 xca xcb xcc xcd xce xcf xd0 xd1 xd2 xd3 xd4 xd5 xd6 xd7 xd8 xd9 xda xdb xdc xdd xde xdf xe0 xe1 xe2 xe3 xe4 xe5 xe6 xe7 xe8 xe9 xea xeb xec xed xee xfef xf0 xf1 xf2 xf3 xf4 xf5 xf6 xf7 xf8 xf9 xfa xfb xfc xfd xfe xff 7xx bit 7 bytes in the table bytes in each byte column row n n + 1 n + 6 n + 7 0 0 mgd160 81624 3239 6xx 5xx 4xx 3xx 2xx 1xx 8xx
1997 jul 07 33 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.9 inventory page organisation. handbook, full pagewidth mgd165 0 1 2 3 4 5 6 7 8 9 23 0 039 10 11 12 13 14 15 20 21 22 23 24 25 16 17 18 19 row unused unused unused unused unused unused unused unused unused transmitted pages table subtitle pages table
1997 jul 07 34 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.8 memory organisation of saa5290, saa5291, saa5291a and saa5491 teletext packets each contain 40 bytes of data and one packet is stored in each row of the text memory, the row used being dependent on the packet number. packet 0, the page header, is split into 2 parts when it is written into the text memory. the first 8 bytes of the header contain control and addressing information. they are hamming decoded and written into columns 0 to 7 of row 25. handbook, full pagewidth row 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 0678 9 023 39 packet x/0 basic page block osd only packet x/1 packet x/2 packet x/3 packet x/4 packet x/5 packet x/6 packet x/7 packet x/8 packet x/9 packet x/10 packet x/11 packet x/12 packet x/13 packet x/14 packet x/15 packet x/16 packet x/17 packet x/18 packet x/19 packet x/20 packet x/21 packet x/22 packet x/23 packet x/24 (1) mgk467 control data vps data aw/ag row 0 1 2 packet x/24 (2) extension packet memory packet x/27/0 packet 8/30 fig.10 packet storage locations. (1) if x24 position bit = 1. (2) if x24 position bit = 0.
1997 jul 07 35 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.9 packet 26 processing one of the uses of packet 26 is to transmit characters which are not in the basic teletext character set. the family automatically decodes packet 26 data and, if a character corresponding to that being transmitted is available in the character set, automatically writes the appropriate character code into the correct location in the teletext memory. this is not a full implementation of the packet 26 specification allowed for in level 2 teletext, and so is often referred to as level 1.5. by convention, the packets 26 for a page are transmitted before the normal packets. to prevent the default character data overwriting the packet 26 data the device incorporates a mechanism which prevents packet 26 data from being overwritten. on the saa5291,saa5291a and saa5491 devices this mechanism is disabled when the spanish national option is detected as the spanish transmission system sends even parity (i.e. incorrect) characters in the basic page locations corresponding to the characters sent via packet 26 and these will not overwrite the packet 26 characters anyway. the special treatment of spanish national option is prevented if txt12.rom ver r4 is logic 0 or if the txt8.disable spanish is set. packet 26 data is processed regardless of the txt1.ext pkt off bit, but setting thetxt1.x26 off disables packet 26 processing. the txt8.pkt 26 received bit is set by the hardware whenever a character is written into the page memory by the packet 26 decoding hardware. the flag can be reset by writing a logic 0 into the sfr bit. 8.10 vps when the txt0. vps on bit is set, any vps data present on line 16, field 0 of the cvbs signal at the input of the teletext decoder is error checked and stored in row 25, block 0 for saa5291, saa5291a, saa5491 and row 25, block 9 for saa5296/7, saa5296/7a, saa5496/7 of the basic page memory. the device automatically detects whether teletext or vps is being transmitted on this line and decodes the data appropriately. each vps byte in the memory consists of 4 bi-phase decoded data bits (bits 0 to 3), a bi-phase error flag (bit 4) and three 0s (bits 5 to 7). the txt13.vps received bit is set by the hardware whenever vps data is acquired. the flag can be reset by writing a logic 0 into the sfr bit. full details of the vps system can be found in specification of the domestic video programme delivery control system (pdc); ebu tech. 3262-e . table 16 vps data storage row column 0to 9 10to11 12to13 14to15 16to17 18to19 20to21 22to23 row 25 teletext page header data vps byte 11 vps byte 12 vps byte 13 vps byte 14 vps byte 15 vps byte 4 vps byte 5
1997 jul 07 36 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.11 wide screen signalling (saa529xa and saa549x only) the wide screen signalling data transmitted on line 23 gives information on the aspect ratio and display position of the transmitted picture, the position of subtitles and on the camera/film mode. some additional bits are reserved for future use. a total of 14 data bits are transmitted. all of the available data bits transmitted by the wide screen signalling signal are captured by the appropriate device in the family and stored in sfrs wss1, wss2 and wss3. the bits are stored as groups of related bits and an error flag is provided for each group to indicate when a transmission error has been detected in one or more of the bits in the group. wide screen signalling data is only acquired when the txt8.wss on bit is set. the txt8.wss received bit is set by the hardware whenever wide screen signalling data is acquired. the flag can be reset by writing a logic 0 into the sfr bit. 8.12 525-line world system teletext as well as the 625-line teletext format described previously, the family can acquire teletext in the 525-line wst (world system teletext) format. the 525-line format is similar to the 625-line format but the data rate is lower and there are less data bytes per packet (32 rather than 40). there are still 40 characters per display row so extra packets are sent each of which contains the last 8 characters for four rows. these packets can be identified by looking at the tabulation bit (t), which replaces one of the magazine bits in 525-line teletext. when an ordinary packet with t = 1 is received, the decoder puts the data into the four rows starting with that corresponding to the packet number, but with the 2 lsbs set to logic 0. for example, a packet 9 with t = 1 (packet x/1/9) contains data for rows 8, 9, 10 and 11. the error checking carried out on data from packets with t = 1 depends on the setting of the txt1. 8 bit bit and the error checking control bits in the page request data and is the same as that applied to the data written into the same memory location in the 625-line format. the rolling time display (the last 8 characters in row 0) is taken from any packets x/1/1, 2 or 3 received. in parallel magazine mode only packets in the correct magazine are used for rolling time. packet number x/1/0 is ignored. the tabulation bit is also used with extension packets. the first 8 data bytes of packet x/1/24 are used to extend the fastext prompt row to 40 characters. these characters are written into whichever part of the memory the packet 24 is being written into (determined by the x24 posn bit). packets x/0/27/0 contain 5 fastext page links and the link control byte and are captured, hamming checked and stored by in the same way as are packets x/27/0 in 625-line text. packets x/1/27/0 are not captured. because there are only 2 magazine bits in 525-line text, packets with the magazine bits all set to a logic 0 are referred to as being in magazine 4. therefore, the broadcast service data packet is packet 4/30, rather than packet 8/30. as in 625 line text, the first 20 bytes of packet 4/30 contain encoded data which is decoded in the same way as that in packet 8/30. the last 12 bytes of the packet contains half of the parity encoded status message. packet 4/0/30 contains the first half of the message and packet 4/1/30 contains the second half. the last 4 bytes of the message are not written into memory. the first 20 bytes of the each version of the packet are the same so they are stored whenever either version of the packet is acquired. in 525-line text each packet 26 only contains ten 24/18 hamming encoded data triplets, rather than the 13 found in 625-line text. the tabulation bit is used as an extra bit (the msb) of the designation code, allowing 32 packet 26s to be transmitted for each page. the last byte of each packet 26 is ignored. the device automatically detects whether 525 or 625-line teletext is being received by checking whether teletext packets are being recognised, and switching to the other system if they arent. the txt13.625 txt bit is set if the device has decided, using the algorithm above, that 625-line text is being received. the txt13.525 text bit is set if the device has decided that 525-line text is being received. if the device has not decided which type of text is being received then neither flag is set. the force acq0 and force acq1 bits in txt17 can be used to override the automatic detection and selection mechanism; see table 17.
1997 jul 07 37 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family table 17 acquisition selection table force acq1 force acq0 timing teletext standard 0 0 automatic automatic 0 1 525-line 525-line 1 0 625-line 625-line 1 1 625-line 525-line fig.11 ordinary packet storage locations, 525-line. handbook, full pagewidth mgk468 row 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 0678 9 023 39 packet x/0/0 osd only rolling time aw/ag packet x/0/1 packet x/1/1 packet x/0/2 packet x/0/3 packet x/0/4 packet x/1/4 packet x/0/5 packet x/0/6 packet x/0/7 packet x/0/8 packet x/1/8 packet x/0/9 packet x/0/10 packet x/0/11 packet x/0/12 packet x/1/12 packet x/0/13 packet x/0/14 packet x/0/15 packet x/0/16 packet x/1/16 packet x/0/17 packet x/0/18 packet x/0/19 packet x/0/20 packet x/1/20 packet x/0/21 packet x/0/22 packet x/0/23 packet x/0/24 (1) packet x/1 /24 (1) control data (1) if x24 position bit = 1.
1997 jul 07 38 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 8.13 fastext detection when a packet 27, designation code 0 is detected, whether or not it is acquired, the txt13.fastext bit is set. if the device is receiving 525-line teletext, a packet x/0/27/0 is required to set the flag. the flag can be reset by writing a logic 0 into the sfr bit. when a packet 8/30 is detected, or a packet 4/30 when the device is receiving a 525-line transmission, the txt13.pkt 8/30 is set. the flag can be reset by writing a logic 0 into the sfr bit. 8.14 page clearing when a page header is acquired for the first time after a new page request or a page header is acquired with the erase (c4) bit set the page memory is cleared to spaces before the rest of the page arrives. when this occurs, the space code (20h) is written into every location of rows 1 to 23 of the basic page memory, row 1 of the extension packet memory and the row where teletext packet 24 is written. this last row is either row 24 of the basic page memory, if the txt0.x24 posn bit is set, or row 0 of the extension packet memory, if the bit is not set. page clearing takes place before the end of the tv line in which the header arrived which initiated the page clear. this means that the 1 field gap between the page header and the rest of the page which is necessary for many teletext decoders is not required. the software can also initiate a page clear, by setting the txt9.clear memory bit. when it does so, every location in the memory is cleared. the clear memory bit is not latched so the software does not have to reset it after it has been set. only one page can be cleared in a tv line so if the software requests a page clear it will be carried out on the next tv line on which the hardware does not force the page to be cleared. a flag, txt13.page clearing, is provided to indicate that a software requested page clear is being carried out. the flag is set when a logic 1 is written into the txt9.clear memory bit and is reset when the page clear has been completed. at power-on and reset the whole of the page memory is cleared and thetxt13.page clearing bit will be set. 8.15 full channel operation if the txt1.full field bit is set the device will acquire data transmitted on any tv line, not just during the vertical blanking interval. this allows the device to be used with teletext transmissions occupying the entire tv channel and with data extracted from different tv broadcast standards (e.g.: mac packet teletext). 8.16 independent data services (saa5291, saa5291a, saa5491 only) when the txt8.ids enable bit is set, saa5291 becomes a receiver for teletext independent data services. these services use teletext packet numbers 30 and 31 to transmit data from a central database to a large number of distributed receivers. unlike normal teletext data, ids data is not organised into pages but into data channels. there are 16 data channels, identified by the magazine number and the lsb of the packet number (actually, the second byte of the magazine and packet number group). data channel 0 is the familiar packet 8/30, used to transmit broadcast related information. the data channel to be captured by the device is selected by writing to column 0 of the page request ram. only ids packets from the selected data channel are captured and rows 0 to 23 of the basic page memory are used to store the last 24 packets acquired. the first ids packet acquired after thetxt8.ids enable bit is set is written into row 0, the next into row 1 and so on until 24 packets have been acquired. the internal packet counter then rolls over and the 25th packet is written into row 0. the hardware never initiates a page clear in ids mode but if the software initiates one the packet counter is reset to 0 after the memory is cleared. the data bytes in the ids packers are not error checked in any way. the software must keep track of which of the ids packets in the memory it has processed and detect newly arrived packets. it can do this by writing a value which cannot be produced by the 8/4 hamming checker (such as ffh) into column 0 of each row and detecting when it is over written. the 24 packet buffer is sufficient to ensure that the device will not be overwhelmed by ids data sent in the vertical blanking interval, but it may not be able to cope with full channel ids data. ids data is dealt with in the same way for both the 525 and 625-line teletext standards.
1997 jul 07 39 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family table 18 page request ram for ids data col bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 0 x x x x data ch 3 data ch 2 data ch 1 data ch 0 1to7xxxxxxxx 9 the display 9.1 introduction the capabilities of the display are based on the requirements of level 1 teletext, with some enhancements for use with locally generated on screen displays. the display consists of 25 rows each of 40 characters, with the characters displayed being those from rows 0 to 24 of the basic page memory. if the txt7.status row top bit is set row 24 is displayed at the top of the screen, followed by row 0, but normally memory rows are displayed in numerical order. the teletext memory stores 8 bit character codes which correspond to a number of displayable characters and control characters, which are normally displayed as spaces. the character set of the device is described in more detail below. 9.2 character matrix each character is defined by a matrix 12 pixels wide and 10 pixels high. when displayed, each pixel is 1 12 m s wide and 1 tv line, in each field, high. 9.3 east/ w est selection in common with their predecessors, these devices store teletext pages as a series of 8 bit character codes which are interpreted as either control codes (to change colour, invoke flashing etc.) or displayable characters. when the control characters are excluded, this gives an addressable set of 212 characters at any given time. more characters than this were required to give the language coverage required from the first version of the device, so the txt4.east/ west bit was introduced to allow the meanings of character codes d0h to ffh to be changed, depending on where in europe the device was to be used. this bit is still used with the other language variants, although the name east/ west may not make much sense. 9.4 national option characters the meanings of some character codes between 20h and 7fh depend on the c12 to c14 language control bits from the teletext page header. the interpretation of the c12 to c14 language control bits is dependent on the east/ west bit. 9.5 the twist attribute in many of the character sets, the twist serial attribute (code 1bh) can be used to switch to an alternate basic character code table, e.g. to change from the hebrew alphabet to the arabic alphabet on an arab/hebrew device. for some national option languages the alternate code table is the default, and a twist control character will switch to the first code table. the display hardware on the devices allows one language to invoke the alternate code table by default when the east/ west register bit is a logic 0 and another when the bit is a logic 1. in all of the character sets defined so far, the language which invokes the alternate code table is the same for either setting of the east/ west bit. 9.6 on screen display symbols in the character sets character codes 80h to 9fh are osd symbols not addressed by the teletext decoding hardware. an editor is available to allow these characters to be redefined by the customer. the saa549x allows another 32 osd symbols. these are selected using the graphics serial attribute. 9.7 language group identi?cation the devices have a readable register txt12 which contains a 5 bit identification code txt12.rom ver r4 to txt12.rom ver r0 which is intended for use in identifying which character set the device is using.
1997 jul 07 40 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 9.8 525-line operation when used with 525-line display syncs, the devices modify their displays such that the bottom line is omitted from each character cell. the character sets have been designed to be readable under these circumstances and anyone designing osd symbols is advised to consider this mode of operation. 9.9 on screen display characters character codes 80h to 9fh are not addressed by the hardware and can be redefined by the customer, as osd characters if necessary. the alternative character shapes in columns 8a and 9a (saa549x only) can be displayed when the graphics serial attribute is set. this increases the number of customer definable characters to 64. to ensure compatibility with devices only having 32 osd characters, the additional osd characters are only accessible when the txt4.osd bank enable bit is set. if this bit is not set, the characters in columns 8 and 9 will be displayed in both alphanumeric and graphics modes. 9.10 control characters character codes 00h to 1fh, b0h to b7h and bch to bfh are interpreted as control characters which can be used to change the colour of the characters, the background colour, the size of characters, and various other features. all control characters are normally displayed as spaces. the alphanumerical colour control characters (00h to 07h) are used to change colour of the characters displayed. the graphics control characters (10h to 17h) change the colour of the characters and switch the display into a mode where the codes in columns 2, 3, 6 and 7 of the character table (see the character table above) are displayed as the block mosaic characters in columns 2a, 3a, 6a and 7a. the display of mosaics is switched off using one of the alphanumerics colour control characters. the new background character (1dh) the background colour of the display, sets the background colour equal to the current foreground colour. the black background character (1ch) changes the background colour to black independently of the current foreground colour. the background colour control characters in the upper half of the code table (b0h to b7h) are additions to the normal teletext control characters which allow the background colour to be changed to any colour with a single control character and independently of the foreground colour. the background colour is changed from the position of the background colour control character. displayable characters between a flash (08h) and a steady (09h) control character will flash on and off. displayable characters between a conceal display (18h) character and an alphanumerics or graphics control character are displayed as spaces, unless the txt7.reveal bit is set. the contiguous graphics (19h) and separated graphics (1ah) characters control the way in which mosaic shapes are displayed. the difference between the two is shown in fig.12. control characters encountered between a hold graphics (1eh) control character and a release graphics (1fh) control character are displayed as the last character displayed in graphics mode, rather than as spaces. from the hold graphics character until the first character displayed in graphics mode the held character is a space. the start box (0bh) and end box (0ah) characters are used to define teletext boxes. two start box characters are required to begin a teletext box, with the box starting between the 2 characters. the box ends after an end box character has been encountered. the display can be set up so that different display modes are invoked inside and outside teletext boxes e.g. text inside boxes but tv outside. this is described in section 9.13. the normal size (0ch), double height (0dh), double width (0eh) and double size (0fh) control characters are used to change the size of the characters displayed. if any double height (or double size) characters are displayed on a row the whole of the next row is displayed as spaces. double height display is not possible on either row 23 or row 24. the character in the position occupied by the right hand half of a double width (or double size) character is ignored, unless it is a control character in which case it takes effect on the next character displayed. this allows double width to be used to produce a display in which blank spaces do not appear when character attributes are changed. the size implying osd (bch to bfh) control characters are not standard teletext control characters and have been included in this device to allow osd messages to be generated with the minimum disruption to the teletext page stored in the memory. these characters are described in full later in this document.
1997 jul 07 41 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 9.11 quadruple width display (saa549x) two successive double width control characters will invoke quadruple width display. quad width display is terminated by another size control character. any combination of two of the four controls which invoke double width display (double width, double size, double width osd and double size osd) can invoke quad width display. if a double size control character is part of the sequence, characters will be displayed in quad width and double height. to ensure that broadcast teletext pages can be displayed correctly, quadruple width will only be displayed if the txt4.quad width enable bit is set. if this bit is not set, two successive double width characters will invoke double width display. if quadruple width characters are to be used within osd boxes (see later section) then the first of the width characters must be either double width (oeh) or double size (ofh). fig.12 contiguous and separated mosaics. handbook, halfpage mosaics character 7fh contiguous mosaics character 7fh separated mgl117 this is because if two consecutive size implying osd control characters are used, the first starts the osd box and the second finishes the osd box, and therefore no osd box is defined. quadruple width characters must not start in columns 37, 38 or 39 of the display since the whole of the character cannot be displayed. 9.12 page attributes row 25 of the basic page memory contains control data from the page header of the page stored in the memory. the bits which affect the display are the newsflash (c5), subtitle (c6), suppress header (c7), inhibit display (c10) and language control (c12 to 14) bits. if either the newsflash or the subtitle bit is set a different sfr is used to define the display mode, as described in section 9.13. the suppress header bit causes the header row (row 0) to be displayed as if every character was a space and the inhibit display bit has this effect on every display row. the language control bits cause certain character codes to be interpreted differently, as described above. 9.13 display modes the device signals the tvs display circuits to display the r, g and b outputs of the device, rather than the video picture, by outputting a logic 1 on the vds output. the way in which this signal is switched is controlled by the bits in the txt5 and txt6 sfrs. there are 3 control functions - text on, background on and picture on. separate sets of bits are used inside and outside teletext boxes so that different display modes can be invoked. also, different sfrs are used depending on whether the newsflash (c5) or subtitle (c6) bits in row 25 of the basic page memory are set (sfr txt6) or not (sfr txt5). this allows the software to set up the type of display required on newsflash and subtitle pages (e.g. text inside boxes, tv picture outside) this will be invoked without any further software intervention when such a page is acquired.
1997 jul 07 42 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family when teletext box control characters are present in the page memory, whichever is relevant of the boxes on row 0, boxes on row 1 to 23 and boxes on row 24 sfr bits in txt17 must be set if the display mode is to change in the box. these bits are present to allow boxes in certain areas of the screen to be disabled so that teletext boxes can be used for the display of osd messages without the danger of subtitles in boxes, which may also be in the page memory, being displayed. the use of teletext boxes for osd messages has been superseded in this device by the osd box concept, described later, but these bits remain to allow teletext boxes to be used, if required. the cor bits in the txt5 and txt6 sfrs control when the cor output of the device is activated (i.e. pulled down). this output is intended to act on the tvs display circuits to reduce the contrast of the video display when it is active. the result of contrast reduction is to improve the readability of the text in a mixed text and video display. the bits in the txt5 and txt6 sfrs allow the display to be set up so that, for example, the areas inside teletext boxes will be contrast reduced when a subtitle is being displayed but that the rest of the screen will be displayed as normal video. setting the shadow txt4.shadow enable bit will add a south east shadow to the text, significantly enhancing its readability in mix mode. shadowing is illustrated in fig.13. the readability of text can also be enhanced using meshing. meshing causes the vds signal to switch so that when the text background colour should be displayed every other pixel is displayed from the video picture. text foreground pixels are always displayed. the txt4.bmesh bit enables meshing on areas of the screen within the text display area with black as the background colour. the txt4.cmesh bit has the same effect on areas with other background colours. meshing can only be invoked in areas displayed in text mode i.e. where the txt5.text in and txt5.bkgnd in bits are both set to logic 1s, and in osd boxes. meshed text can also be shadowed. meshing is illustrated in fig.13. the txt4.trans bit causes areas of black background colour to become transparent i.e. video is displayed instead of black background. black background transparency can also only be invoked in areas displayed in text mode i.e. where the txt5.text in and txt5.bkgnd in bits are both set to a logic 1, and in osd boxes. table 19 display control bits picture on text on background on effect 0 0 x text mode, black screen 0 1 0 text mode, background always black 0 1 1 text mode 1 0 x tv mode 1 1 0 mixed text and tv mode 1 1 1 text mode, tv picture outside text area
1997 jul 07 43 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family table 20 enhanced display mode selection shadow trans bmesh cmesh display 0 0 0 0 normal, unshadowed, unmeshed text 0 0 0 1 text with coloured backgrounds meshed, black background solid 0 0 1 0 text with coloured backgrounds solid, black background meshed 0 0 1 1 text with all backgrounds meshed 0 1 x 0 text with coloured backgrounds solid, black background transparent 0 1 x 1 text with coloured backgrounds meshed, black background transparent 1 0 0 1 shadowed text with coloured backgrounds meshed, black background solid 1 0 1 0 shadowed text with coloured backgrounds solid, black background meshed 1 0 1 1 shadowed text with all backgrounds meshed 1 1 x 0 shadowed text with coloured backgrounds solid, black background transparent 1 1 x 1 shadowed text with coloured backgrounds meshed, black background transparent fig.13 meshing and shadowing. handbook, halfpage meshing tv picture text foreground colour black text background colour meshing and shadowing normal mix mode se shadowing mgl118
1997 jul 07 44 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 9.14 on screen display boxes the size implying osd control characters (bch to bfh) are intended to allow osd messages to be displayed with the minimum disruption to the teletext page stored in the page memory. osd boxes are not the same as teletext boxes created using the teletext boxing control characters (0ah and 0bh). when one of these characters occurs the display size changes appropriately (to normal size for bch, double height for bdh, double width for beh and double size for bfh) and an osd box starts from the next character position (set after). the osd box ends either at the end of the row of text or at the next size implying osd character. when an osd box is ended using another size implying osd character the box ends at the position of the control character (set at). this arrangement allows displays to be created without blank spaces at the ends of the osd boxes. to prevent control characters from the teletext page affecting the display of the osd message the flash, teletext box, conceal, separated graphics, twist and hold graphics functions are all reset at the start of an osd box, as they are at the start of the row. in order to allow the most commonly used display attributes to be set up before the box starts the foreground colour, background colour and mosaics on/off attributes are not reset. the text within an osd box is always displayed in text mode i.e. as if the text on and bkgnd on bits are both set to a logic 1. the type of display produced inside an osd box is, therefore, dependent on the states of the txt4.shadow enable, txt4.trans enable, txt4.bmesh enable and txt4.cmesh enable register bits, as described previously. osd boxes can only be displayed in tv mode i.e. when the picture on sfr bit is a logic 1 and the text on sfr bit is a logic 0, both inside and outside text boxes and for both normal and newsflash/subtitle pages. the display of osd boxes is not affected by the c7, suppress header, and c10, inhibit display, control bits stored in row 25 of the page memory. 9.15 screen colour the register bits txt17.screen col2 to col0 can be used to define a colour to be displayed in place of tv picture and the black background colour. if the bits are all set to logic 0s, the screen colour is defined as transparent and the tv picture and background colour are displayed as normal. screen colour is displayed from 10.5 to 62.5 m s after the active edge of the hsync input and on tv lines 23 to 310 inclusive, for a 625-line display, and lines 17 to 260 inclusive for a 525-line display. when the screen colour has been redefined, no tv picture is displayed so the frame de-interlace output can be activated, if the sfr bits controlling frame are set up to allow this. table 21 screen colours 9.16 rede?nable colours (saa549x) the clut sfr can be used to load a colour look-up table (clut) which allows the 8 foreground colours and 8 background colours to be redefined. each entry has 6 bits, 2 for each colour component, giving a total palette of 64 colours from which to choose. when the clut.clut enable bit is a logic 0 the clut is disabled and the device will display the normal, full intensity, teletext colours. the meaning of the least significant 6 bits of the clut sfr depends on the setting of the clut.clut address bit when the register is written to. if the clut.clut address bit is a logic 1, the 4 lsbs of the sfr contain the address of the entry in the clut which will be modified by subsequent writes to the clut sfr. if the clut.clut address bit is a logic 0, the 6 lsbs of the sfr define a colour which will be written into the clut at the address defined by a previous write to the clut sfr. an entry is written into the clut whenever the clut sfr is written to, unless the clut.clut address bit is set. table 22 shows which clut entry corresponds to which full intensity colour. the contents of the clut are not reset at power-up and should be defined by the software before the clut is enabled. screen col 2 screen col 1 screen col 0 screen colour 0 0 0 transparent 001red 0 1 0 green 0 1 1 yellow 1 0 0 blue 1 0 1 magenta 1 1 0 cyan 1 1 1 white
1997 jul 07 45 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family table 22 clut address 9.17 cursor if the txt7.cursor on bit is set, a cursor is displayed. the cursor operates by reversing the background and foreground colours in the character position pointed to by the active row and column bits in the txt9 and txt10 sfrs. setting the txt9.cursor freeze bit, causes the cursor to stay in its current position, no matter what happens to the active row and column positions. this means that the software can read data from the memory (e.g. top table information) without affecting the position of the cursor. 9.18 other display features setting the txt7.double height bit causes the normal height of all display characters to be doubled and the whole of the display area to be occupied by half of the display rows. characters normally displayed double height will be displayed quadruple height when this bit is set. rows 12 to 24 can be enlarged, rather then rows 0 to 11, by setting the txt7. top/bottom bit. this feature can be used for either a user controlled enlarge facility or to provide very large characters for osd. the display of rows 0 to 23 can be disabled by setting the txt0.dislay status row only bit. clut address full intensity equivalent 0 black foreground 1 red foreground 2 green foreground 3 yellow foreground 4 blue foreground 5 magenta foreground 6 cyan foreground 7 white foreground 8 black background 9 red background a green background b yellow background c blue background d magenta background e cyan background f white background the fastext prompt row (packet 24) can be displayed from the extension packet memory by setting the txt0.display x/24 bit. when this bit is set the data displayed on display row 24 is taken from row 0 in the extension packet memory. when the display from extension packet block option is enabled, the display will revert to row 24 of the basic page memory if bit 3 of the link control byte in packet 27 is set. 9.19 display timing the display synchronises to the devices hsync and vsync inputs. a typical configuration is shown in fig.14. the hsync and vsync signals are derived from the signals driving the deflection coils of the tv. the cvbs input is only used to extract teletext from. locking the display to the signals from the scan circuits allows the device give a stable display under almost all signal conditions. the polarity of the input signals which the device is expecting can be set using the txt1.h polarity and txt1.v polarity bits. if the polarity bit is a logic 0, a positive going signal is expected and if it is a logic 1, a negative going signal is expected. 9.20 horizontal timing every time an hsync pulse is received the display resynchronizes to its leading edge. to get maximum display stability, the hsync input must have fast edges, free of noise to ensure that there is no uncertainty in the timing of the signal to which the display synchronisation circuits must lock. the display area starts 17.2 m s into the line and lasts for 40 m s. the display area will be in the centre of the screen if the hsync pulse is aligned with line flyback signal. therefore, it is better to derive hsync directly from the line flyback or from an output of the line output transformer than from, say, slicing the sandcastle signal as this would introduce delays which would shift the display to the right. 9.21 vertical timing the vertical display timing also resynchronizes to every sync pulse received. this means that the device can produce a stable display on both 625 and 525-line screens. display starts on the 41st line of each field and continues for 250 lines, or until the end of the field. normally, television displays are interlaced, i.e. only every other tv line is displayed on each field. it is normal to de-interlace teletext displays to prevent the displayed characters flickering up and down. in many tv designs this
1997 jul 07 46 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family is achieved by modulating the vertical deflection current in such a way that odd fields are shifted up and even fields are shifted down on the screen so that lines 1 and 314, 2 and 315 etc. are overlaid. the frame output is provided to facilitate this. if the active edge of vsync occurs in the first half of a tv line this is an even field and the frame output should be a logic 0 for this field. similarly, if vsync is in the second half of the line this is an odd field and frame should be a logic1. the algorithm used to derive frame is such that a consistent output will be obtained no matter where the vsync signal is relative to the hsync signal, even if vsync occurs at the start and mid points of a line. setting the txt0.disable frame bit forces the frame output to a logic 0. setting the txt0.auto frame bit causes the frame output to be active when just text is being displayed but to be forced to a logic 0 when any video is being displayed. this allows the de-interlacing function to take place with virtually no software intervention. some tv architectures do not use the frame output but accomplish the de-interlacing function in the vertical deflection ic, under software control, by delaying the start of the scan for one field by half a line, so that lines in this field are moved up by one tv line. in such tvs, vsync may occur in the first half of the line at the start of an odd field and in the second half of the line at the start of an even field. in order to obtain correct de-interlacing in these circumstances, the txt1.field polarity must be set to reverse the assumptions made by the vertical timing circuits on the timing of vsync in each field. the start of the display may be delayed by a line. the field polarity bit does not affect the frame output. fig.14 timing configuration. handbook, halfpage video decoding tuner/if rgb, vds rgb cvbs mgk464 hsync, vsync frame sync circuits saa5x9x crt display 9.22 display position the position of the display relative to the hsync and vsync inputs can be varied over a limited range to allow for optimum tv set-up. the horizontal position is controlled by the x0 and x1 bits in txt16. table 23 gives the time from the active edge of the hsync to the start of the display area for each setting of x0 and x1. table 23 display horizontal position the line on which the display area starts depends on whether the display is 625-line or 525-line and on the setting of the y0 to y2 bits in txt16. table 24 gives the first display line for each setting of y0 to y2, for both 625 and 525-line display. on the other field, the display starts on the equivalent line. table 24 display vertical position x1 x0 hsync to display (m s) 0 0 17.2 0 1 16.2 1 0 15.2 1 1 14.2 y2 y1 y0 first line for display 625-line 525-line 0 0 0 42 28 0 0 1 44 30 0 1 0 46 32 0 1 1 48 34 1 0 0 34 20 1 0 1 36 22 1 1 0 38 24 1 1 1 40 26
1997 jul 07 47 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.15 625-line display format. handbook, full pagewidth 25 rows 23 lines 250 lines 287 lines 312 lines 40 characters mgl122 40 m s 10.5 m s 52 m s 64 m s tv picture area text display area field scanning area d x d y fig.16 525-line display format. handbook, full pagewidth 25 rows 17 lines 225 lines 243 lines 263 lines 40 characters mgl123 40 m s 10.5 m s 52 m s 63.55 m s tv picture area text display area field scanning area d x d y
1997 jul 07 48 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 9.23 clock generator the oscillator circuit is a single-stage inverting amplifier in a pierce oscillator configuration. the circuitry between oscin and oscout is basically an inverter biased to the transfer point. a crystal must be used as the feedback element to complete the oscillator circuitry. it is operated in parallel resonance. oscin is the high gain amplifier input and oscout is the output. to drive the device externally oscin is driven from an external source and oscout is left open-circuit. fig.17 oscillator circuit. (1) the values of c1 and c2 depend on the crystal specification: c1 = c2 = 2c l . handbook, halfpage mlc110 oscout v ss oscin oscgnd c1 (1) c2 (1) fig.18 oscillator circuit driven from external source. handbook, halfpage mlc111 oscout oscin oscgnd external clock not connected v ss
1997 jul 07 49 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 10 character sets the two pan-european character sets are shown in figs 20 and 21. the character sets for russian, greek/turkish, arabic/english/french, thai and arabic/hebrew are available on request. 10.1 pan-european fig.19 pan-european geographical coverage. handbook, full pagewidth mgl133
1997 jul 07 50 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family handbook, full pagewidth mgl124 normal height b 3 b 2 b 1 b 0 b 4 b 5 b 6 b 7 0 1 22a3 3a4 5 6 6a 77a 8 9 c column r o w b i t s 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 1 0 0 0 1 0 0 1 a 1 0 1 0 1 1 0 0 0 1 1 0 0 0 1 1 0 0 1 0 0 1 1 1 e 1 1 1 0 double width hold graphics f 1 1 1 1 double size release graphics b 1 0 1 1 start box c 1 1 0 0 black back - ground d 1 1 0 1 double height new back - ground a 1 0 1 0 end box separated graphics 9 1 0 0 1 steady contiguous graphics 8 1 0 0 0 flash conceal display 7 0 1 1 1 alpha - numerics white graphics white 6 0 1 1 0 alpha - numerics cyan graphics cyan 5 0 1 0 1 alpha - numerics magenta graphics magenta 4 0 1 0 0 alpha - numerics blue graphics blue 3 0 0 1 1 alpha - numerics yellow graphics yellow 2 0 0 1 0 alpha - numerics green graphics green 0 0 0 0 0 alpha - numerics black graphics black 1 0 0 0 1 alpha - numerics red graphics red b 1 0 1 1 def 1 1 0 1 1 1 1 0 1 1 1 1 def 1 1 0 1 1 1 1 0 1 1 1 1 double width osd double size osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd osd e/w = 0 e/w = 1 osd nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt nat opt normal size osd double height osd back- ground white back- ground cyan back- ground magenta back- ground blue back- ground yellow back- ground green back- ground black back ground red osd character dependent on the language of page, refer to national option characters customer definable on-screen display character fig.20 pan-european basic character set.
1997 jul 07 51 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family fig.21 national option characters. (1) languages in bold typeface conform to the ebu document sp492 or where superseded etsi document pr ets 300 706 with respect to c12/c13/c14 definition. (2) languages in italic typeface are included for backward compatibility with previous generation of philips teletext decoders. handbook, full pagewidth mgl125 language c12 c13 c14 000 001 010 011 100 french (1) italian (1) swedish (1) german (1) english (1) 23 24 40 5b 5c 5d 5e 5f 60 7b 7c 7d 7e character spanish (1) 10 e/w 0 111 english (2) 0 0 001 german (1) 1 010 estonian (1) 1 011 german (2) 1 100 german (2) 1 0 0 0 01 11 00 turkish (1) 00 10 101 110 11 1 1 11 rumanian (1) czech (1) serbo-croat (1) polish (1)
1997 jul 07 52 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 10.2 russian fig.22 russian geographical coverage. handbook, full pagewidth mgl128 10.3 greek/turkish fig.23 greek/turkish geographical coverage. handbook, full pagewidth mgl129
1997 jul 07 53 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 10.4 arabic/english/french fig.24 arabic/english/french geographical coverage. handbook, full pagewidth mgl131 10.5 thai fig.25 thai geographical coverage. handbook, full pagewidth mgl132
1997 jul 07 54 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 10.6 arabic/hebrew fig.26 arabic/hebrew geographical coverage. b ook, full pagewidth mgl130
1997 jul 07 55 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 11 limiting values in accordance with the absolute maximum rating system (iec 134). note 1. this value has an absolute maximum of 6.5 v independent of v dd . 12 characteristics v dd =5v 10%; v ss =0v; t amb = - 20 to +70 c; unless otherwise speci?ed. symbol parameter conditions min. max. unit v dd supply voltage (all supplies) - 0.3 +6.5 v v i input voltage (any input) note 1 - 0.3 v dd + 0.5 v v o output voltage (any output) note 1 - 0.3 v dd + 0.5 v i o output current (each output) - 10 ma i iok dc input or output diode current - 20 ma t amb operating ambient temperature - 20 +70 c t stg storage temperature - 55 +125 c symbol parameter conditions min. typ. max. unit supplies v dd supply voltage (v dd to v ss ) 4.5 5.0 5.5 v i ddm microcontroller supply current - 25 40 ma v dd supply voltage 4.5 5.0 5.5 v i ddm microcontroller supply current - 20 35 ma i dda analog supply current - 35 50 ma i ddt teletext supply current saa5290, saa5291, saa5291a, saa5491 - 40 65 ma i ddt teletext supply current saa5296/7, saa5296/7a, saa5496/7 - 50 80 ma digital inputs reset, ea v il low-level input voltage - 0.3 - 0.2v dd - 0.1 v v ih high-level input voltage 0.7v dd - v dd + 0.3 v i li input leakage current v i = 0 to v dd - 10 - +10 m a c i input capacitance -- 4pf hsync and vsync v thf switching threshold falling 0.2v dd -- v v thr switching threshold rising -- 0.8v dd v v hys hysteresis voltage - 0.33v dd - v c i input capacitance -- 4pf
1997 jul 07 56 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family digital outputs r, g and b; note 1 v ol low-level output voltage i ol = 2 ma 0 - 0.2 v v oh high-level output voltage i oh = - 2ma v rgbref - 0.3 v rgbref v rgbref + 0.4 v ? z o ? output impedance -- 150 w c l load capacitance -- 50 pf i o dc output current --- 4ma t r output rise time between 10 and 90%; c l =50pf -- 20 ns t f output fall time between 90 and 10%; c l =50pf -- 20 ns vds v ol low-level output voltage i ol = 1.6 ma 0 - 0.2 v v oh high-level output voltage i oh = - 1.6 ma v dd - 0.3 - v dd + 0.4 v c l load capacitance -- 50 pf t r output rise time between 10 and 90%; c l =50pf -- 20 ns t f output fall time between 90 and 10%; c l =50pf -- 20 ns r, g, b and vds t skew skew delay between any two pins -- 20 ns cor ( open - drain output ) v oh high-level pull-up output voltage -- v dd v v ol low-level output voltage i ol = 2 ma 0 - 0.5 v i ol low-level output current -- 2ma c l load capacitance -- 25 pf frame, rd, wr, ale, psen, ad0 to ad7, a8 to a15 v oh high-level output voltage i ol = 8 ma 0 - 0.5 v v ol low-level output voltage i ol = - 8ma v dd - 0.5 - v dd v i ol low-level output current - 8 - +8 ma c l load capacitance -- 100 pf symbol parameter conditions min. typ. max. unit
1997 jul 07 57 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family digital input/outputs p0.0 to p0.4, p0.7, p1.0 to p1.5, p2.0 to p2.7 and p3.0 to p3.4 v il low-level input voltage - 0.3 - 0.2v dd - 0.1 v v ih high-level input voltage 0.2v dd + 0.9 - v dd + 0.3 v c i input capacitance -- 4pf v ol low-level output voltage i ol = 3.2 ma 0 - 0.45 v c l load capacitance -- 50 pf p0.5 and p0.6 v il low-level input voltage - 0.3 - 0.2v dd - 0.1 v v ih high-level input voltage 0.2v dd + 0.9 - v dd + 0.3 v c i input capacitance -- 4pf v ol low-level output voltage i ol =10ma 0 - 0.45 v c l load capacitance -- 50 pf p1.6 and p1.7 v il low-level input voltage - 0.3 - +1.5 v v ih high-level input voltage 3.0 - v dd + 0.3 v c i input capacitance -- 5pf v ol low-level output voltage i ol = 3 ma 0 - 0.5 v c l load capacitance -- 400 pf t f output fall time between 3 and 1 v -- 200 ns analog inputs cvbs0 and cvbs1 v sync sync voltage amplitude 0.1 0.3 0.6 v v vid(p-p) video input voltage amplitude (peak-to-peak value) 0.7 1.0 1.4 v z source source impedance -- 250 w v ih high level input voltage 3.0 - v dd + 0.3 v ? z i ? input impedance 2.5 5.0 - k w c i input capacitance -- 10 pf iref r gnd resistor to ground - 27 - k w rgbref; note 1 v i input voltage - 0.3 - v dd v i i dc input current -- 12 ma symbol parameter conditions min. typ. max. unit
1997 jul 07 58 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family notes 1. all rgb current is sourced from the rgbref pin. the maximum effective series resistance between rgbref and the r, g and b pins is 150 w . 2. crystal order number 4322 143 05561. ref+, ref - v ih high level input voltage 3.0 - v dd + 0.3 v ? z i ? input impedance 2.5 5.0 - k w c i input capacitance -- 10 pf adc0, adc1 and adc2 v il low-level input voltage - 0.3 - v dd v analog input/output black c black storage capacitor to ground - 100 - nf v black black level voltage for nominal sync amplitude 1.8 2.15 2.5 v i li input leakage current -10 - +10 m a crystal oscillator oscin v il low-level input voltage - 0.3 - 0.2v dd - 0.1 v v ih high-level input voltage 0.7v dd - v dd + 0.3 v c i input capacitance -- 10 pf oscout c o output capacitance -- 10 pf c rystal specification ; note 2 f xtal nominal frequency - 12 - mhz c l load capacitance - 32 - pf c1 series capacitance t amb =25 c - 18.5 - ff c0 parallel capacitance t amb =25 c - 4.9 - pf r r resonance resistance t amb =25 c - 35 -w t xtal temperature range -20 +25 +70 c x j adjustment tolerance t amb =25 c -- 50 10 -6 x d drift -- 30 10 -6 symbol parameter conditions min. typ. max. unit
1997 jul 07 59 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 13 characteristics for the i 2 c-bus interface notes 1. this parameter is determined by the user software. it must comply with the i 2 c-bus specification. 2. this value gives the auto-clock pulse length which meets the i 2 c-bus specification for the special crystal frequency. alternatively, the scl pulse must be timed by software. 3. the rise time is determined by the external bus line capacitance and pull-up resistor. it must be less than 1 m s. 4. the maximum capacitance on bus lines sda and scl is 400 pf. symbol parameter input output i 2 c-bus specification scl timing t hd;sta start condition hold time 3 4.0 m s note 1 3 4.0 m s t low scl low time 3 4.7 m s note 1 3 4.7 m s t high scl high time 3 4.0 m s 3 4.0 m s; note 2 3 4.0 m s t rc scl rise time 1.0 m s note 3 1.0 m s t fc scl fall time 0.3 m s 0.3 m s; note 4 0.3 m s sda timing t su;dat1 data set-up time 3 250 ns note 1 3 250 ns t hd;dat data hold time 3 0 ns note 1 3 0ns t su;sta repeated start set-up time 3 4.7 m s note 1 3 4.7 m s t su;sto stop condition set-up time 3 4.0 m s note 1 3 4.0 m s t buf bus free time 3 4.7 m s note 1 3 4.7 m s t rd sda rise time 1.0 m s note 3 1.0 m s t fd sda fall time 0.3 m s 0.3 m s; note 4 0.3 m s
1997 jul 07 60 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family handbook, full pagewidth t rd t fd t rc t fc t hd;sta t low t high t su;dat1 t hd;dat t su;dat2 t su;dat3 0.7v dd 0.3v dd t su;sto t buf t su;sta sda (input / output) scl (input / output) start condition repeated start condition stop condition start or repeated start condition 0.7v dd 0.3v dd mlc104 fig.27 i 2 c-bus interface timing.
1997 jul 07 61 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 14 quality specifications this device will meet philips semiconductors general quality specification for business group consumer integrated circuits snw-fq-611-part e ; quality reference handbook, order number 9398 510 63011 . the principal requirements are shown in table 25 to 28. table 25 acceptance tests per lot; note 1 table 26 processability tests (by package family); note 2 table 27 reliability tests (by process family); note 3 table 28 reliability tests (by device type) notes to tables 25, 26 and 27 1. ppm = fraction of defective devices, in parts per million. 2. ltpd = lot tolerance percent defective. 3. fpm = fraction of devices failing at test condition, in failures per million. test requirements mechanical cumulative target: <80 ppm electrical cumulative target: <80 ppm test requirements solderability <7% ltpd mechanical <15% ltpd solder heat resistance <15% ltpd test conditions requirements operational life 168 hours at t j = 150 c <1000 fpm at t j =70 c humidity life temperature, humidity, bias 1000 hours, 85 c, 85% rh (or equivalent test) <2000 fpm temperature cycling performance t stg(min) to t stg(max) <2000 fpm test conditions requirements esd and latch-up esd human body model 100 pf, 1.5 k w 2000 v esd machine model 200 pf, 0 w 200 v latch-up 100 ma, 1.5 v dd (absolute maximum)
1997 jul 07 62 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 15 application information n dbook, full pagewidth mgk463 2 v dd v dd v afc v tune v ss v ss v dd v dd v dd v dd v dd v ssd v ddm v ddt v dda v ssa v ss v ssd v ss v ss p2.1/pwm0 3 p2.2/pwm1 4 p2.3/pwm2 5 p2.4/pwm3 6 p2.5/pwm4 7 p2.6/pwm5 8 p2.7/pwm6 9 p3.0/adc0 p3.1/adc1 p3.2/adc2 p0.0 p3.3/adc3 10 11 12 13 14 15 16 17 18 19 20 21 p0.1 p0.2 p0.3 p0.4 p0.5 p0.6 p0.7 g b rgbref hsync vds r vsync xtalout xtalin oscgnd p1.0/int1 reset p3.4/pwm7 iref 100 nf 100 nf 100 nf frame black cvbs1 cvbs0 cvbs (if) cvbs (scart) 22 23 24 26 25 29 27 28 1 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 52 p2.0/tpwm a2 p1.4 p1.7/sda p1.6/scl p1.3/t1 p1.2/int0 p1.1/t0 p1.5 sda a1 scl a0 rc brightness contrast saturation hue volume (l) volume (r) v dd v dd v ss 1 k w 27 k w v dd 40 v v ss v ss v dd v ss ph2369 47 m f v dd v ss 100 nf cor v ss v dd 47 m f 100 nf 22 pf 2.2 m f v dd v ss v ss v ss eeprom pcf8582e saa5x9x ir receiver 12mhz to tv's display circuits tv control signals field flyback line flyback fig.28 application diagram.
1997 jul 07 63 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 16 emc guidelines if possible, a ground plane under the whole ic should be present, i.e. no signal tracks running underneath the ic as shown in fig.29. the ground plane under the ic should be connected by the widest possible connection back to the ground connection of the pcb, and electrolytic decoupling capacitor. it should preferably not connect to other grounds on the way and no wire links should be present in this connection. the use of wire links increases ground bounce by introducing inductance into the ground, thereby reducing the electrolytic capacitors decoupling efficiency. the supply pins should be decoupled at the pin, to the ground plane under the ic. this is easily accomplished when using sm capacitors (which are also most effective at high frequencies). each supply pin should be connected separately to the power connection of the pcb, preferably via at least one wire link which: 1. may be replaced by a ferrite or inductor at a later point if necessary 2. will introduce a small amount of inductance. signals connected to the +5 v supply e.g. via a pull-up resistors, should be connected to the +5 v supply before the wire link to the ic (i.e. not the ic side). this will prevent if from being polluted and conduct or radiate noise onto signal lines, which may then radiate themselves. oscgnd should connect only to the crystal load capacitors (and not gnd). fig.29 power supply and gnd connections for sot247-1. handbook, full pagewidth electrolytic decoupling capacitor (2 m f) wire links sm decoupling capacitors (10 to 100 nf) under-ic gnd plane ic mgl127 v ssd v ssa v ddm v ddd v dda gnd + 5 v other gnd connections under-ic gnd plane gnd connection note: no wire links
1997 jul 07 64 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 17 package outlines unit b 1 cee m h l references outline version european projection issue date iec jedec eiaj mm dimensions (mm are the original dimensions) sot247-1 90-01-22 95-03-11 b max. w m e e 1 1.3 0.8 0.53 0.40 0.32 0.23 47.9 47.1 14.0 13.7 3.2 2.8 0.18 1.778 15.24 15.80 15.24 17.15 15.90 1.73 5.08 0.51 4.0 m h c (e ) 1 m e a l seating plane a 1 w m b 1 d a 2 z 52 1 27 26 b e pin 1 index 0 5 10 mm scale note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. (1) (1) d (1) z e a max. 12 a min. a max. sdip52: plastic shrink dual in-line package; 52 leads (600 mil) sot247-1
1997 jul 07 65 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family unit a 1 a 2 a 3 b p ce (1) eh e ll p qz y w v q references outline version european projection issue date iec jedec eiaj mm 0.25 0.05 2.90 2.65 0.25 0.45 0.30 0.25 0.14 14.1 13.9 0.8 1.95 18.2 17.6 1.4 1.2 1.2 0.8 7 0 o o 0.2 0.2 0.1 dimensions (mm are the original dimensions) note 1. plastic or metal protrusions of 0.25 mm maximum per side are not included. 1.0 0.6 sot318-2 d (1) (1) (1) 20.1 19.9 h d 24.2 23.6 e z 1.0 0.6 d b p e q e a 1 a l p q detail x l (a ) 3 b 24 c b p e h a 2 d z d a z e e v m a 1 80 65 64 41 40 25 pin 1 index x y d h v m b w m w m 92-12-15 95-02-04 0 5 10 mm scale qfp80: plastic quad flat package; 80 leads (lead length 1.95 mm); body 14 x 20 x 2.8 mm sot318-2 a max. 3.2
1997 jul 07 66 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 18 soldering 18.1 introduction there is no soldering method that is ideal for all ic packages. wave soldering is often preferred when through-hole and surface mounted components are mixed on one printed-circuit board. however, wave soldering is not always suitable for surface mounted ics, or for printed-circuits with high population densities. in these situations reflow soldering is often used. this text gives a very brief insight to a complex technology. a more in-depth account of soldering ics can be found in our ic package databook (order code 9398 652 90011). 18.2 sdip 18.2.1 s oldering by dipping or by wave the maximum permissible temperature of the solder is 260 c; solder at this temperature must not be in contact with the joint for more than 5 seconds. the total contact time of successive solder waves must not exceed 5 seconds. the device may be mounted up to the seating plane, but the temperature of the plastic body must not exceed the specified maximum storage temperature (t stg max ). if the printed-circuit board has been pre-heated, forced cooling may be necessary immediately after soldering to keep the temperature within the permissible limit. 18.2.2 r epairing soldered joints apply a low voltage soldering iron (less than 24 v) to the lead(s) of the package, below the seating plane or not more than 2 mm above it. if the temperature of the soldering iron bit is less than 300 c it may remain in contact for up to 10 seconds. if the bit temperature is between 300 and 400 c, contact may be up to 5 seconds. 18.3 qfp 18.3.1 r eflow soldering reflow soldering techniques are suitable for all qfp packages. the choice of heating method may be influenced by larger plastic qfp packages (44 leads, or more). if infrared or vapour phase heating is used and the large packages are not absolutely dry (less than 0.1% moisture content by weight), vaporization of the small amount of moisture in them can cause cracking of the plastic body. for more information, refer to the drypack chapter in our quality reference handbook (order code 9397 750 00192). reflow soldering requires solder paste (a suspension of fine solder particles, flux and binding agent) to be applied to the printed-circuit board by screen printing, stencilling or pressure-syringe dispensing before package placement. several techniques exist for reflowing; for example, thermal conduction by heated belt. dwell times vary from 50 to 300 seconds depending on heating method. typical reflow temperatures range from 215 to 250 c. preheating is necessary to dry the paste and evaporate the binding agent. preheat for 45 minutes at 45 c. 18.3.2 w ave soldering wave soldering is not recommended for qfp packages. this is because of the likelihood of solder bridging due to closely-spaced leads and the possibility of incomplete solder penetration in multi-lead devices. if wave soldering cannot be avoided, the following conditions must be observed: a double-wave (a turbulent wave with high upward pressure followed by a smooth laminar wave) soldering technique should be used. the footprint must be at an angle of 45 to the board direction and must incorporate solder thieves downstream and at the side corners. even with these conditions, do not consider wave soldering the following packages: qfp52 (sot379-1), qfp100 (sot317-1), qfp100 (sot317-2), qfp100 (sot382-1) or qfp160 (sot322-1). during placement and before soldering, the package must be fixed with a droplet of adhesive. the adhesive can be applied by screen printing, pin transfer or syringe dispensing. the package can be soldered after the adhesive is cured. maximum permissible solder temperature is 260 c, and maximum duration of package immersion in solder is 10 seconds, if cooled to less than 150 c within 6 seconds. typical dwell time is 4 seconds at 250 c. a mildly-activated flux will eliminate the need for removal of corrosive residues in most applications. 18.3.3 r epairing soldered joints fix the component by first soldering two diagonally- opposite end leads. use only a low voltage soldering iron (less than 24 v) applied to the flat part of the lead. contact time must be limited to 10 seconds at up to 300 c. when using a dedicated tool, all other leads can be soldered in one operation within 2 to 5 seconds between 270 and 320 c.
1997 jul 07 67 philips semiconductors preliminary speci?cation economy teletext and tv microcontrollers saa5x9x family 19 definitions 20 life support applications these products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. philips customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify philips for any damages resulting from such improper use or sale. 21 purchase of philips i 2 c components data sheet status objective speci?cation this data sheet contains target or goal speci?cations for product development. preliminary speci?cation this data sheet contains preliminary data; supplementary data may be published later. product speci?cation this data sheet contains ?nal product speci?cations. limiting values limiting values given are in accordance with the absolute maximum rating system (iec 134). stress above one or more of the limiting values may cause permanent damage to the device. these are stress ratings only and operation of the device at these or at any other conditions above those given in the characteristics sections of the speci?cation is not implied. exposure to limiting values for extended periods may affect device reliability. application information where application information is given, it is advisory and does not form part of the speci?cation. purchase of philips i 2 c components conveys a license under the philips i 2 c patent to use the components in the i 2 c system provided the system conforms to the i 2 c specification defined by philips. this specification can be ordered using the code 9398 393 40011.
internet: http://www.semiconductors.philips.com philips semiconductors C a worldwide company ? philips electronics n.v. 1997 sca55 all rights are reserved. reproduction in whole or in part is prohibited without the prior written consent of the copyright owne r. the information presented in this document does not form part of any quotation or contract, is believed to be accurate and reli able and may be changed without notice. no liability will be accepted by the publisher for any consequence of its use. publication thereof does not con vey nor imply any license under patent- or other industrial or intellectual property rights. netherlands: postbus 90050, 5600 pb eindhoven, bldg. vb, tel. +31 40 27 82785, fax. +31 40 27 88399 new zealand: 2 wagener place, c.p.o. box 1041, auckland, tel. +64 9 849 4160, fax. +64 9 849 7811 norway: box 1, manglerud 0612, oslo, tel. +47 22 74 8000, fax. +47 22 74 8341 philippines: philips semiconductors philippines inc., 106 valero st. salcedo village, p.o. box 2108 mcc, makati, metro manila, tel. +63 2 816 6380, fax. +63 2 817 3474 poland: ul. lukiska 10, pl 04-123 warszawa, tel. +48 22 612 2831, fax. +48 22 612 2327 portugal: see spain romania: see italy russia: philips russia, ul. usatcheva 35a, 119048 moscow, tel. +7 095 755 6918, fax. +7 095 755 6919 singapore: lorong 1, toa payoh, singapore 1231, tel. +65 350 2538, fax. +65 251 6500 slovakia: see austria slovenia: see italy south africa: s.a. philips pty ltd., 195-215 main road martindale, 2092 johannesburg, p.o. box 7430 johannesburg 2000, tel. +27 11 470 5911, fax. +27 11 470 5494 south america: rua do rocio 220, 5th floor, suite 51, 04552-903 s?o paulo, s?o paulo - sp, brazil, tel. +55 11 821 2333, fax. +55 11 829 1849 spain: balmes 22, 08007 barcelona, tel. +34 3 301 6312, fax. +34 3 301 4107 sweden: kottbygatan 7, akalla, s-16485 stockholm, tel. +46 8 632 2000, fax. +46 8 632 2745 switzerland: allmendstrasse 140, ch-8027 zrich, tel. +41 1 488 2686, fax. +41 1 481 7730 taiwan: philips semiconductors, 6f, no. 96, chien kuo n. rd., sec. 1, taipei, taiwan tel. +886 2 2134 2865, fax. +886 2 2134 2874 thailand: philips electronics (thailand) ltd., 209/2 sanpavuth-bangna road prakanong, bangkok 10260, tel. +66 2 745 4090, fax. +66 2 398 0793 turkey: talatpasa cad. no. 5, 80640 gltepe/istanbul, tel. +90 212 279 2770, fax. +90 212 282 6707 ukraine : philips ukraine, 4 patrice lumumba str., building b, floor 7, 252042 kiev, tel. +380 44 264 2776, fax. +380 44 268 0461 united kingdom: philips semiconductors ltd., 276 bath road, hayes, middlesex ub3 5bx, tel. +44 181 730 5000, fax. +44 181 754 8421 united states: 811 east arques avenue, sunnyvale, ca 94088-3409, tel. +1 800 234 7381 uruguay: see south america vietnam: see singapore yugoslavia: philips, trg n. pasica 5/v, 11000 beograd, tel. +381 11 625 344, fax.+381 11 635 777 for all other countries apply to: philips semiconductors, marketing & sales communications, building be-p, p.o. box 218, 5600 md eindhoven, the netherlands, fax. +31 40 27 24825 argentina: see south america australia: 34 waterloo road, north ryde, nsw 2113, tel. +61 2 9805 4455, fax. +61 2 9805 4466 austria: computerstr. 6, a-1101 wien, p.o. box 213, tel. +43 160 1010, fax. +43 160 101 1210 belarus: hotel minsk business center, bld. 3, r. 1211, volodarski str. 6, 220050 minsk, tel. +375 172 200 733, fax. +375 172 200 773 belgium: see the netherlands brazil: see south america bulgaria: philips bulgaria ltd., energoproject, 15th floor, 51 james bourchier blvd., 1407 sofia, tel. +359 2 689 211, fax. +359 2 689 102 canada: philips semiconductors/components, tel. +1 800 234 7381 china/hong kong: 501 hong kong industrial technology centre, 72 tat chee avenue, kowloon tong, hong kong, tel. +852 2319 7888, fax. +852 2319 7700 colombia: see south america czech republic: see austria denmark: prags boulevard 80, pb 1919, dk-2300 copenhagen s, tel. +45 32 88 2636, fax. +45 31 57 0044 finland: sinikalliontie 3, fin-02630 espoo, tel. +358 9 615800, fax. +358 9 61580920 france: 4 rue du port-aux-vins, bp317, 92156 suresnes cedex, tel. +33 1 40 99 6161, fax. +33 1 40 99 6427 germany: hammerbrookstra?e 69, d-20097 hamburg, tel. +49 40 23 53 60, fax. +49 40 23 536 300 greece: no. 15, 25th march street, gr 17778 tavros/athens, tel. +30 1 4894 339/239, fax. +30 1 4814 240 hungary: see austria india: philips india ltd, band box building, 2nd floor, 254-d, dr. annie besant road, worli, mumbai 400 025, tel. +91 22 493 8541, fax. +91 22 493 0966 indonesia: see singapore ireland: newstead, clonskeagh, dublin 14, tel. +353 1 7640 000, fax. +353 1 7640 200 israel: rapac electronics, 7 kehilat saloniki st, po box 18053, tel aviv 61180, tel. +972 3 645 0444, fax. +972 3 649 1007 italy: philips semiconductors, piazza iv novembre 3, 20124 milano, tel. +39 2 6752 2531, fax. +39 2 6752 2557 japan: philips bldg 13-37, kohnan 2-chome, minato-ku, tokyo 108, tel. +81 3 3740 5130, fax. +81 3 3740 5077 korea: philips house, 260-199 itaewon-dong, yongsan-ku, seoul, tel. +82 2 709 1412, fax. +82 2 709 1415 malaysia: no. 76 jalan universiti, 46200 petaling jaya, selangor, tel. +60 3 750 5214, fax. +60 3 757 4880 mexico: 5900 gateway east, suite 200, el paso, texas 79905, tel. +9-5 800 234 7381 middle east: see italy printed in the netherlands 547047/00/01/pp68 date of release: 1997 jul 07 document order number: 9397 750 01952


▲Up To Search▲   

 
Price & Availability of SAA5497

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X